#4E8C21

A color in the Green family

#4e8c21 is a color in the Green family: RGB(78, 140, 33), HSL(95°, 62%, 34%), CMYK(44%, 0%, 76%, 45%). Closest named color: forestgreen. Contrast is 4.12:1 on white and 5.1:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#4e8c21
RGBrgb(78 140 33)
RGB (legacy)rgb(78, 140, 33)
RGB %rgb(31% 55% 13%)
HSLhsl(95 62% 34%)
HSV / HSBhsv(95, 76%, 55%)
HWBhwb(95 13% 45%)
CMYKcmyk(44%, 0%, 76%, 45%)
CIELAB (D50)lab(52.5 -34.72 46.8)
LCHlch(52.5 58.27 126.57)
OKLaboklab(0.5766 -0.1075 0.1067)
OKLCHoklch(0.5766 0.1515 135.22)
Decimal5147681

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 3.3
Closest web-safe color#669933
Hue95°
Saturation (HSL / HSV)62% / 76%
Lightness (HSL)34%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)43% / 47%
Relative luminance (WCAG)0.2049
Red / Green / Blue78 / 140 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.12:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.10: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 68.1 / -33.6 · As background with white / black text: Lc -73.6 / 36

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