#4F7A21

A color in the Green family

#4f7a21 is a color in the Green family: RGB(79, 122, 33), HSL(89°, 57%, 30%), CMYK(35%, 0%, 73%, 52%). Closest named color: darkolivegreen. Contrast is 5.07:1 on white and 4.14:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4f7a21
RGBrgb(79 122 33)
RGB (legacy)rgb(79, 122, 33)
RGB %rgb(31% 48% 13%)
HSLhsl(89 57% 30%)
HSV / HSBhsv(89, 73%, 48%)
HWBhwb(89 13% 52%)
CMYKcmyk(35%, 0%, 73%, 52%)
CIELAB (D50)lab(46.69 -26.82 41.21)
LCHlch(46.69 49.17 123.06)
OKLaboklab(0.5292 -0.0848 0.0946)
OKLCHoklch(0.5292 0.127 131.89)
Decimal5208609

Properties

Color ToneGreen
Closest named colordarkolivegreen ΔE 5.1
Closest web-safe color#666633
Hue89°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)30%
Brightness or Value (HSV)48%
Luminance (Rec.601 / Rec.709)39% / 42%
Relative luminance (WCAG)0.1569
Red / Green / Blue79 / 122 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.07:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.14: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.9 · As background with white / black text: Lc -80.3 / 29.2

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: #4f7a21;
  --color-brand-oklch: oklch(52.92% 0.127 131.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(79 122 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4f7a21] text-[#4f7a21] border-[#4f7a21]">