#5E7B14#5E7B14
#5E7B14 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.128 H 125.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7B14 |
|---|---|
| RGB | rgb(94, 123, 20) |
| HSL | hsl(77, 72%, 28%) |
| HSV | hsv(77, 84%, 48%) |
| CMYK | cmyk(23.6%, 0%, 83.7%, 51.8%) |
| CIE-LAB | lab(47.75, -25.16, 47.92) |
| CIE-LCH | lch(47.75, 54.12, 117.70°) |
| OKLab | oklab(54.1% -0.0734 0.1048) |
| OKLCH | oklch(54.1% 0.128 125) |
| XYZ | xyz(11.8254, 16.5960, 3.2420) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 3.01
Olive Green
#677A04
ΔE00 3.03
Avocado
#568203
ΔE00 3.38
Murky Green
#6C7A0E
ΔE00 3.99
Poop Green
#6F7C00
ΔE00 4.99
Swamp
#698339
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7B14 #31147B
analogous
#7B6414 #5E7B14 #2B7B14
triadic
#5E7B14 #145E7B #7B145E
tetradic
#5E7B14 #147B64 #31147B #7B142B
square
#5E7B14 #147B64 #31147B #7B142B
split-complementary
#5E7B14 #142B7B #64147B
monochromatic
#141A04 #36460B #5E7B14 #86B01D #ABDD2D
Accessibility & contrast
On white
4.86
#5E7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#5E7B14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7B14
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7B14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7B14 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#637568
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5e7b14; /* rgb */ color: rgb(94, 123, 20); /* oklch */ color: oklch(54.1% 0.128 125.0);
Tailwind
colors: {
custom: {
50: '#8fa15c',
500: '#5e7b14',
950: '#000000',
},
}SCSS
$custom: #5e7b14; $custom-light: #8fa15c; $custom-dark: #000000;
JSON
{
"hex": "#5e7b14",
"rgb": {
"r": 94,
"g": 123,
"b": 20
},
"hsl": {
"h": 76.893,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.54103,
"c": 0.12791,
"h": 125
},
"luminance": 0.16596
}Semantic roles & 50–950 ramp
primary
#5E7B14
secondary
#5C3AB1
accent
#39EF6C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79