#2B8721

A color in the Green family

#2b8721 is a color in the Green family: RGB(43, 135, 33), HSL(114°, 61%, 33%), CMYK(68%, 0%, 76%, 47%). Closest named color: forestgreen. Contrast is 4.57:1 on white and 4.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2b8721
RGBrgb(43 135 33)
RGB (legacy)rgb(43, 135, 33)
RGB %rgb(17% 53% 13%)
HSLhsl(114 61% 33%)
HSV / HSBhsv(114, 76%, 53%)
HWBhwb(114 13% 47%)
CMYKcmyk(68%, 0%, 76%, 47%)
CIELAB (D50)lab(49.49 -42.77 43.36)
LCHlch(49.49 60.9 134.61)
OKLaboklab(0.5488 -0.1269 0.1001)
OKLCHoklch(0.5488 0.1616 141.72)
Decimal2852641

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 1.2
Closest web-safe color#339933
Hue114°
Saturation (HSL / HSV)61% / 76%
Lightness (HSL)33%
Brightness or Value (HSV)53%
Luminance (Rec.601 / Rec.709)38% / 42%
Relative luminance (WCAG)0.1795
Red / Green / Blue43 / 135 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.57:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.59:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 71.3 / -30.3 · As background with white / black text: Lc -76.8 / 32.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #2b8721;
  --color-brand-oklch: oklch(54.88% 0.1616 141.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 135 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b8721] text-[#2b8721] border-[#2b8721]">