#5E7E18#5E7E18
#5E7E18 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.130 H 126.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7E18 |
|---|---|
| RGB | rgb(94, 126, 24) |
| HSL | hsl(79, 68%, 29%) |
| HSV | hsv(79, 81%, 49%) |
| CMYK | cmyk(25.4%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(48.72, -26.46, 47.57) |
| CIE-LCH | lch(48.72, 54.43, 119.08°) |
| OKLab | oklab(54.9% -0.0766 0.1047) |
| OKLCH | oklch(54.9% 0.13 126.2) |
| XYZ | xyz(12.2419, 17.3671, 3.5712) |
| Luminance | 0.1737 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.53
Dirty Green
#667E2C
ΔE00 2.72
Olive Green
#677A04
ΔE00 3.77
Swamp
#698339
ΔE00 4.64
Murky Green
#6C7A0E
ΔE00 4.65
Mossy Green
#638B27
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7E18 #38187E
analogous
#7E6B18 #5E7E18 #2B7E18
triadic
#5E7E18 #185E7E #7E185E
tetradic
#5E7E18 #187E6B #38187E #7E182B
square
#5E7E18 #187E6B #38187E #7E182B
split-complementary
#5E7E18 #182B7E #6B187E
monochromatic
#131A05 #384B0E #5E7E18 #84B122 #A6D937
Accessibility & contrast
On white
4.69
#5E7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#5E7E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7E18
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7E18 | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#62786B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5e7e18; /* rgb */ color: rgb(94, 126, 24); /* oklch */ color: oklch(54.9% 0.130 126.2);
Tailwind
colors: {
custom: {
50: '#8fa35f',
500: '#5e7e18',
950: '#000000',
},
}SCSS
$custom: #5e7e18; $custom-light: #8fa35f; $custom-dark: #000000;
JSON
{
"hex": "#5e7e18",
"rgb": {
"r": 94,
"g": 126,
"b": 24
},
"hsl": {
"h": 78.824,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.54897,
"c": 0.12975,
"h": 126.2
},
"luminance": 0.17367
}Semantic roles & 50–950 ramp
primary
#5E7E18
secondary
#633FB2
accent
#3DEB74
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79