#4F7321

A color in the Green family

#4f7321 is a color in the Green family: RGB(79, 115, 33), HSL(86°, 55%, 29%), CMYK(31%, 0%, 71%, 55%). Closest named color: darkolivegreen. Contrast is 5.52:1 on white and 3.81:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4f7321
RGBrgb(79 115 33)
RGB (legacy)rgb(79, 115, 33)
RGB %rgb(31% 45% 13%)
HSLhsl(86 55% 29%)
HSV / HSBhsv(86, 71%, 45%)
HWBhwb(86 13% 55%)
CMYKcmyk(31%, 0%, 71%, 55%)
CIELAB (D50)lab(44.41 -23.68 38.95)
LCHlch(44.41 45.58 121.3)
OKLaboklab(0.5106 -0.0757 0.0896)
OKLCHoklch(0.5106 0.1173 130.18)
Decimal5206817

Properties

Color ToneGreen
Closest named colordarkolivegreen ΔE 3.2
Closest web-safe color#666633
Hue86°
Saturation (HSL / HSV)55% / 71%
Lightness (HSL)29%
Brightness or Value (HSV)45%
Luminance (Rec.601 / Rec.709)37% / 40%
Relative luminance (WCAG)0.1403
Red / Green / Blue79 / 115 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.52:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.81: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 77.4 / -24.4 · As background with white / black text: Lc -82.7 / 26.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: #4f7321;
  --color-brand-oklch: oklch(51.06% 0.1173 130.18);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(79 115 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4f7321] text-[#4f7321] border-[#4f7321]">