#047F21

A color in the Green family

#047f21 is a color in the Green family: RGB(4, 127, 33), HSL(134°, 94%, 26%), CMYK(97%, 0%, 74%, 50%). Closest named color: green. Contrast is 5.17:1 on white and 4.06:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#047f21
RGBrgb(4 127 33)
RGB (legacy)rgb(4, 127, 33)
RGB %rgb(2% 50% 13%)
HSLhsl(134 94% 26%)
HSV / HSBhsv(134, 97%, 50%)
HWBhwb(134 2% 50%)
CMYKcmyk(97%, 0%, 74%, 50%)
CIELAB (D50)lab(46.09 -45.58 39.72)
LCHlch(46.09 60.46 138.93)
OKLaboklab(0.5189 -0.1324 0.0927)
OKLCHoklch(0.5189 0.1616 145.01)
Decimal294689

Properties

Color ToneGreen
Closest named colorgreen ΔE 1.7
Closest web-safe color#006633
Hue134°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)26%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)31% / 37%
Relative luminance (WCAG)0.1531
Red / Green / Blue4 / 127 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 74.9 / -26.8 · As background with white / black text: Lc -80.3 / 29.1

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: #047f21;
  --color-brand-oklch: oklch(51.89% 0.1616 145.01);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(4 127 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#047f21] text-[#047f21] border-[#047f21]">