#4E7B15#4E7B15
#4E7B15 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.136 H 131.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7B15 |
|---|---|
| RGB | rgb(78, 123, 21) |
| HSL | hsl(86, 71%, 28%) |
| HSV | hsv(86, 83%, 48%) |
| CMYK | cmyk(36.6%, 0%, 82.9%, 51.8%) |
| CIE-LAB | lab(46.76, -31.69, 46.36) |
| CIE-LCH | lch(46.76, 56.15, 124.35°) |
| OKLab | oklab(53.04% -0.09 0.1021) |
| OKLCH | oklch(53.04% 0.136 131.4) |
| XYZ | xyz(10.3601, 15.8394, 3.2208) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.43
Dark Grass Green
#388004
ΔE00 3.78
Dirty Green
#667E2C
ΔE00 5.00
Tree Green
#2A7E19
ΔE00 5.46
Sap Green
#5C8B15
ΔE00 6.21
Swamp
#698339
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7B15 #42157B
analogous
#7B7515 #4E7B15 #1B7B15
triadic
#4E7B15 #154E7B #7B154E
tetradic
#4E7B15 #157B75 #42157B #7B151B
square
#4E7B15 #157B75 #42157B #7B151B
split-complementary
#4E7B15 #151B7B #75157B
monochromatic
#111A04 #2D470C #4E7B15 #6FAF1E #8FDB2F
Accessibility & contrast
On white
5.04
#4E7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#4E7B15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E7B15
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E7B15 | 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)
#4F7568
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4e7b15; /* rgb */ color: rgb(78, 123, 21); /* oklch */ color: oklch(53.0% 0.136 131.4);
Tailwind
colors: {
custom: {
50: '#84a15d',
500: '#4e7b15',
950: '#000000',
},
}SCSS
$custom: #4e7b15; $custom-light: #84a15d; $custom-dark: #000000;
JSON
{
"hex": "#4e7b15",
"rgb": {
"r": 78,
"g": 123,
"b": 21
},
"hsl": {
"h": 86.471,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.53043,
"c": 0.13608,
"h": 131.4
},
"luminance": 0.1584
}Semantic roles & 50–950 ramp
primary
#4E7B15
secondary
#6F3BB0
accent
#3AEE89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79