#4E8E16#4E8E16
#4E8E16 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.160 H 134.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4E8E16 |
|---|---|
| RGB | rgb(78, 142, 22) |
| HSL | hsl(92, 73%, 32%) |
| HSV | hsv(92, 85%, 56%) |
| CMYK | cmyk(45.1%, 0%, 84.5%, 44.3%) |
| CIE-LAB | lab(52.97, -39.96, 51.70) |
| CIE-LCH | lch(52.97, 65.34, 127.70°) |
| OKLab | oklab(58.13% -0.1121 0.1135) |
| OKLCH | oklch(58.13% 0.16 134.7) |
| XYZ | xyz(12.9594, 21.0229, 4.1339) |
| Luminance | 0.2102 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.70
Mossy Green
#638B27
ΔE00 3.75
Grass Green
#3F9B0B
ΔE00 4.65
Avocado
#568203
ΔE00 4.88
Grassy Green
#419C03
ΔE00 4.93
Olivedrab
#6B8E23
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E8E16 #56168E
analogous
#8A8E16 #4E8E16 #168E1A
triadic
#4E8E16 #164E8E #8E164E
tetradic
#4E8E16 #168A8E #56168E #8E1A16
square
#4E8E16 #168A8E #56168E #8E1A16
split-complementary
#4E8E16 #1A168E #8E168A
monochromatic
#142406 #31590E #4E8E16 #6BC31E #8AE13D
Accessibility & contrast
On white
4.03
#4E8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#4E8E16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4E8E16
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E8E16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4E8E16 | 1.00 | 4.03 | 5.20 | 5.20 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #4e8e16; /* rgb */ color: rgb(78, 142, 22); /* oklch */ color: oklch(58.1% 0.160 134.7);
Tailwind
colors: {
custom: {
50: '#86af60',
500: '#4e8e16',
950: '#000000',
},
}SCSS
$custom: #4e8e16; $custom-light: #86af60; $custom-dark: #000000;
JSON
{
"hex": "#4e8e16",
"rgb": {
"r": 78,
"g": 142,
"b": 22
},
"hsl": {
"h": 92,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.58131,
"c": 0.15956,
"h": 134.7
},
"luminance": 0.21024
}Semantic roles & 50–950 ramp
primary
#4E8E16
secondary
#843FC1
accent
#38F09A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A