#4E7F16#4E7F16
#4E7F16 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.141 H 132.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7F16 |
|---|---|
| RGB | rgb(78, 127, 22) |
| HSL | hsl(88, 70%, 29%) |
| HSV | hsv(88, 83%, 50%) |
| CMYK | cmyk(38.6%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(48.08, -33.46, 47.26) |
| CIE-LCH | lch(48.08, 57.90, 125.30°) |
| OKLab | oklab(54.12% -0.0947 0.1041) |
| OKLCH | oklch(54.12% 0.141 132.3) |
| XYZ | xyz(10.8759, 16.8559, 3.4394) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.64
Dark Grass Green
#388004
ΔE00 3.15
Sap Green
#5C8B15
ΔE00 4.93
Dirty Green
#667E2C
ΔE00 5.11
Tree Green
#2A7E19
ΔE00 5.19
Mossy Green
#638B27
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7F16 #47167F
analogous
#7F7C16 #4E7F16 #1A7F16
triadic
#4E7F16 #164E7F #7F164E
tetradic
#4E7F16 #167F7C #47167F #7F161A
square
#4E7F16 #167F7C #47167F #7F161A
split-complementary
#4E7F16 #161A7F #7C167F
monochromatic
#101A05 #2E4B0D #4E7F16 #6EB31F #8DDC34
Accessibility & contrast
On white
4.80
#4E7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#4E7F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E7F16
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E7F16 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4e7f16; /* rgb */ color: rgb(78, 127, 22); /* oklch */ color: oklch(54.1% 0.141 132.3);
Tailwind
colors: {
custom: {
50: '#84a45e',
500: '#4e7f16',
950: '#000000',
},
}SCSS
$custom: #4e7f16; $custom-light: #84a45e; $custom-dark: #000000;
JSON
{
"hex": "#4e7f16",
"rgb": {
"r": 78,
"g": 127,
"b": 22
},
"hsl": {
"h": 88,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.5412,
"c": 0.14075,
"h": 132.3
},
"luminance": 0.16856
}Semantic roles & 50–950 ramp
primary
#4E7F16
secondary
#743DB4
accent
#3BED8E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79