#5E7B15#5E7B15
#5E7B15 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.127 H 125.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7B15 |
|---|---|
| RGB | rgb(94, 123, 21) |
| HSL | hsl(77, 71%, 28%) |
| HSV | hsv(77, 83%, 48%) |
| CMYK | cmyk(23.6%, 0%, 82.9%, 51.8%) |
| CIE-LAB | lab(47.75, -25.12, 47.62) |
| CIE-LCH | lch(47.75, 53.84, 117.81°) |
| OKLab | oklab(54.11% -0.0732 0.1043) |
| OKLCH | oklch(54.11% 0.127 125.1) |
| XYZ | xyz(11.8345, 16.5996, 3.2899) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.94
Olive Green
#677A04
ΔE00 3.09
Avocado
#568203
ΔE00 3.40
Murky Green
#6C7A0E
ΔE00 4.03
Poop Green
#6F7C00
ΔE00 5.05
Swamp
#698339
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7B15 #32157B
analogous
#7B6515 #5E7B15 #2B7B15
triadic
#5E7B15 #155E7B #7B155E
tetradic
#5E7B15 #157B65 #32157B #7B152B
square
#5E7B15 #157B65 #32157B #7B152B
split-complementary
#5E7B15 #152B7B #65157B
monochromatic
#141A04 #36470C #5E7B15 #86AF1E #AADB2F
Accessibility & contrast
On white
4.86
#5E7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#5E7B15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7B15
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7B15 | 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)
#7E7120
Tritanopia (blue-blind)
#637568
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5e7b15; /* rgb */ color: rgb(94, 123, 21); /* oklch */ color: oklch(54.1% 0.127 125.1);
Tailwind
colors: {
custom: {
50: '#8fa15d',
500: '#5e7b15',
950: '#000000',
},
}SCSS
$custom: #5e7b15; $custom-light: #8fa15d; $custom-dark: #000000;
JSON
{
"hex": "#5e7b15",
"rgb": {
"r": 94,
"g": 123,
"b": 21
},
"hsl": {
"h": 77.059,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.54108,
"c": 0.12743,
"h": 125.1
},
"luminance": 0.166
}Semantic roles & 50–950 ramp
primary
#5E7B15
secondary
#5D3BB0
accent
#3AEE6D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79