#2F9A21

A color in the Green family

#2f9a21 is a color in the Green family: RGB(47, 154, 33), HSL(113°, 65%, 37%), CMYK(69%, 0%, 79%, 40%). Closest named color: forestgreen. Contrast is 3.64:1 on white and 5.77:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2f9a21
RGBrgb(47 154 33)
RGB (legacy)rgb(47, 154, 33)
RGB %rgb(18% 60% 13%)
HSLhsl(113 65% 37%)
HSV / HSBhsv(113, 79%, 60%)
HWBhwb(113 13% 40%)
CMYKcmyk(69%, 0%, 79%, 40%)
CIELAB (D50)lab(55.98 -48.07 49.61)
LCHlch(55.98 69.08 134.09)
OKLaboklab(0.6027 -0.1428 0.1135)
OKLCHoklch(0.6027 0.1824 141.53)
Decimal3119649

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 4.7
Closest web-safe color#339933
Hue113°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)37%
Brightness or Value (HSV)60%
Luminance (Rec.601 / Rec.709)42% / 48%
Relative luminance (WCAG)0.2383
Red / Green / Blue47 / 154 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.64:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.77: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 63.5 / -38.1 · As background with white / black text: Lc -69 / 40.5

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