#4E7E20#4E7E20
#4E7E20 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.134 H 133.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7E20 |
|---|---|
| RGB | rgb(78, 126, 32) |
| HSL | hsl(91, 59%, 31%) |
| HSV | hsv(91, 75%, 49%) |
| CMYK | cmyk(38.1%, 0%, 74.6%, 50.6%) |
| CIE-LAB | lab(47.81, -32.39, 43.49) |
| CIE-LCH | lch(47.81, 54.23, 126.68°) |
| OKLab | oklab(53.92% -0.0911 0.0979) |
| OKLCH | oklch(53.92% 0.134 133) |
| XYZ | xyz(10.8633, 16.6452, 4.0067) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.49
Avocado
#568203
ΔE00 3.76
Tree Green
#2A7E19
ΔE00 4.81
Dirty Green
#667E2C
ΔE00 4.98
Sap Green
#5C8B15
ΔE00 5.69
Swamp
#698339
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7E20 #50207E
analogous
#7D7E20 #4E7E20 #207E21
triadic
#4E7E20 #204E7E #7E204E
tetradic
#4E7E20 #207D7E #50207E #7E2120
square
#4E7E20 #207D7E #50207E #7E2120
split-complementary
#4E7E20 #21207E #7E207D
monochromatic
#121C07 #304D14 #4E7E20 #6CAF2C #8BD048
Accessibility & contrast
On white
4.85
#4E7E20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#4E7E20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E7E20
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E7E20 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4e7e20; /* rgb */ color: rgb(78, 126, 32); /* oklch */ color: oklch(53.9% 0.134 133.0);
Tailwind
colors: {
custom: {
50: '#84a462',
500: '#4e7e20',
950: '#000000',
},
}SCSS
$custom: #4e7e20; $custom-light: #84a462; $custom-dark: #000000;
JSON
{
"hex": "#4e7e20",
"rgb": {
"r": 78,
"g": 126,
"b": 32
},
"hsl": {
"h": 90.638,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.53919,
"c": 0.13369,
"h": 133
},
"luminance": 0.16646
}Semantic roles & 50–950 ramp
primary
#4E7E20
secondary
#7E49B1
accent
#45E396
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A