#4E7B16#4E7B16
#4E7B16 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.136 H 131.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7B16 |
|---|---|
| RGB | rgb(78, 123, 22) |
| HSL | hsl(87, 70%, 28%) |
| HSV | hsv(87, 82%, 48%) |
| CMYK | cmyk(36.6%, 0%, 82.1%, 51.8%) |
| CIE-LAB | lab(46.77, -31.64, 46.05) |
| CIE-LCH | lch(46.77, 55.87, 124.49°) |
| OKLab | oklab(53.05% -0.0898 0.1016) |
| OKLCH | oklch(53.05% 0.136 131.5) |
| XYZ | xyz(10.3696, 15.8431, 3.2706) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.49
Dark Grass Green
#388004
ΔE00 3.79
Dirty Green
#667E2C
ΔE00 4.99
Tree Green
#2A7E19
ΔE00 5.42
Sap Green
#5C8B15
ΔE00 6.24
Swamp
#698339
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7B16 #43167B
analogous
#7B7516 #4E7B16 #1B7B16
triadic
#4E7B16 #164E7B #7B164E
tetradic
#4E7B16 #167B75 #43167B #7B161B
square
#4E7B16 #167B75 #43167B #7B161B
split-complementary
#4E7B16 #161B7B #75167B
monochromatic
#101A05 #2D470D #4E7B16 #6FAF1F #8FDA31
Accessibility & contrast
On white
5.04
#4E7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#4E7B16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E7B16
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7B16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E7B16 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#4F7668
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4e7b16; /* rgb */ color: rgb(78, 123, 22); /* oklch */ color: oklch(53.0% 0.136 131.5);
Tailwind
colors: {
custom: {
50: '#84a15d',
500: '#4e7b16',
950: '#000000',
},
}SCSS
$custom: #4e7b16; $custom-light: #84a15d; $custom-dark: #000000;
JSON
{
"hex": "#4e7b16",
"rgb": {
"r": 78,
"g": 123,
"b": 22
},
"hsl": {
"h": 86.733,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.53049,
"c": 0.13558,
"h": 131.5
},
"luminance": 0.15844
}Semantic roles & 50–950 ramp
primary
#4E7B16
secondary
#703DB0
accent
#3BEC8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79