#4E8D21
A color in the Green family
#4e8d21 is a color in the Green family: RGB(78, 141, 33), HSL(95°, 62%, 34%), CMYK(45%, 0%, 77%, 45%). Closest named color: olivedrab. Contrast is 4.07:1 on white and 5.16:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #4e8d21 |
|---|---|
| RGB | rgb(78 141 33) |
| RGB (legacy) | rgb(78, 141, 33) |
| RGB % | rgb(31% 55% 13%) |
| HSL | hsl(95 62% 34%) |
| HSV / HSB | hsv(95, 77%, 55%) |
| HWB | hwb(95 13% 45%) |
| CMYK | cmyk(45%, 0%, 77%, 45%) |
| CIELAB (D50) | lab(52.82 -35.11 47.1) |
| LCH | lch(52.82 58.75 126.7) |
| OKLab | oklab(0.5793 -0.1087 0.1074) |
| OKLCH | oklch(0.5793 0.1528 135.35) |
| Decimal | 5147937 |
Properties
| Color Tone | Green |
|---|---|
| Closest named color | olivedrab ΔE 3.4 |
| Closest web-safe color | #669933 |
| Hue | 95° |
| Saturation (HSL / HSV) | 62% / 77% |
| Lightness (HSL) | 34% |
| Brightness or Value (HSV) | 55% |
| Luminance (Rec.601 / Rec.709) | 43% / 47% |
| Relative luminance (WCAG) | 0.2078 |
| Red / Green / Blue | 78 / 141 / 33 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
4.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.16: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 67.7 / -34 · As background with white / black text: Lc -73.2 / 36.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
Complementary
Split Complementary
Analogous
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: #4e8d21;
--color-brand-oklch: oklch(57.93% 0.1528 135.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(78 141 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4e8d21] text-[#4e8d21] border-[#4e8d21]">