#2F9721

A color in the Green family

#2f9721 is a color in the Green family: RGB(47, 151, 33), HSL(113°, 64%, 36%), CMYK(69%, 0%, 78%, 41%). Closest named color: forestgreen. Contrast is 3.77:1 on white and 5.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2f9721
RGBrgb(47 151 33)
RGB (legacy)rgb(47, 151, 33)
RGB %rgb(18% 59% 13%)
HSLhsl(113 64% 36%)
HSV / HSBhsv(113, 78%, 59%)
HWBhwb(113 13% 41%)
CMYKcmyk(69%, 0%, 78%, 41%)
CIELAB (D50)lab(54.98 -47.12 48.67)
LCHlch(54.98 67.74 134.07)
OKLaboklab(0.5945 -0.14 0.1115)
OKLCHoklch(0.5945 0.179 141.48)
Decimal3118881

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 3.8
Closest web-safe color#339933
Hue113°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)36%
Brightness or Value (HSV)59%
Luminance (Rec.601 / Rec.709)42% / 47%
Relative luminance (WCAG)0.2285
Red / Green / Blue47 / 151 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.77:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.57: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 64.8 / -36.9 · As background with white / black text: Lc -70.3 / 39.3

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: #2f9721;
  --color-brand-oklch: oklch(59.45% 0.179 141.48);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(47 151 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2f9721] text-[#2f9721] border-[#2f9721]">