#4E7821

A color in the Green family

#4e7821 is a color in the Green family: RGB(78, 120, 33), HSL(89°, 57%, 30%), CMYK(35%, 0%, 73%, 53%). Closest named color: darkolivegreen. Contrast is 5.21:1 on white and 4.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e7821
RGBrgb(78 120 33)
RGB (legacy)rgb(78, 120, 33)
RGB %rgb(31% 47% 13%)
HSLhsl(89 57% 30%)
HSV / HSBhsv(89, 73%, 47%)
HWBhwb(89 13% 53%)
CMYKcmyk(35%, 0%, 73%, 53%)
CIELAB (D50)lab(45.98 -26.33 40.49)
LCHlch(45.98 48.29 123.03)
OKLaboklab(0.5233 -0.0832 0.093)
OKLCHoklch(0.5233 0.1248 131.83)
Decimal5142561

Properties

Color ToneGreen
Closest named colordarkolivegreen ΔE 4.6
Closest web-safe color#666633
Hue89°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)30%
Brightness or Value (HSV)47%
Luminance (Rec.601 / Rec.709)38% / 41%
Relative luminance (WCAG)0.1516
Red / Green / Blue78 / 120 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.21:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.03: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 75.7 / -26.1 · As background with white / black text: Lc -81 / 28.4

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: #4e7821;
  --color-brand-oklch: oklch(52.33% 0.1248 131.83);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 120 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e7821] text-[#4e7821] border-[#4e7821]">