#5E7F18#5E7F18
#5E7F18 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.131 H 126.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7F18 |
|---|---|
| RGB | rgb(94, 127, 24) |
| HSL | hsl(79, 68%, 30%) |
| HSV | hsv(79, 81%, 50%) |
| CMYK | cmyk(26%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(49.04, -26.94, 47.86) |
| CIE-LCH | lch(49.04, 54.92, 119.38°) |
| OKLab | oklab(55.16% -0.078 0.1053) |
| OKLCH | oklch(55.16% 0.131 126.5) |
| XYZ | xyz(12.3704, 17.6242, 3.6140) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.27
Dirty Green
#667E2C
ΔE00 2.82
Olive Green
#677A04
ΔE00 3.98
Mossy Green
#638B27
ΔE00 4.48
Sap Green
#5C8B15
ΔE00 4.51
Swamp
#698339
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7F18 #39187F
analogous
#7F6D18 #5E7F18 #2B7F18
triadic
#5E7F18 #185E7F #7F185E
tetradic
#5E7F18 #187F6D #39187F #7F182B
square
#5E7F18 #187F6D #39187F #7F182B
split-complementary
#5E7F18 #182B7F #6D187F
monochromatic
#131A05 #384C0E #5E7F18 #84B222 #A6D938
Accessibility & contrast
On white
4.64
#5E7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#5E7F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7F18
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7F18 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#62796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5e7f18; /* rgb */ color: rgb(94, 127, 24); /* oklch */ color: oklch(55.2% 0.131 126.5);
Tailwind
colors: {
custom: {
50: '#8fa45f',
500: '#5e7f18',
950: '#000000',
},
}SCSS
$custom: #5e7f18; $custom-light: #8fa45f; $custom-dark: #000000;
JSON
{
"hex": "#5e7f18",
"rgb": {
"r": 94,
"g": 127,
"b": 24
},
"hsl": {
"h": 79.223,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.55155,
"c": 0.13103,
"h": 126.5
},
"luminance": 0.17624
}Semantic roles & 50–950 ramp
primary
#5E7F18
secondary
#653FB3
accent
#3DEB75
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79