#5E7F17#5E7F17
#5E7F17 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.132 H 126.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7F17 |
|---|---|
| RGB | rgb(94, 127, 23) |
| HSL | hsl(79, 69%, 29%) |
| HSV | hsv(79, 82%, 50%) |
| CMYK | cmyk(26%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(49.03, -26.99, 48.17) |
| CIE-LCH | lch(49.03, 55.22, 119.27°) |
| OKLab | oklab(55.15% -0.0782 0.1058) |
| OKLCH | oklch(55.15% 0.132 126.5) |
| XYZ | xyz(12.3602, 17.6201, 3.5603) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.22
Dirty Green
#667E2C
ΔE00 2.89
Olive Green
#677A04
ΔE00 3.92
Sap Green
#5C8B15
ΔE00 4.51
Mossy Green
#638B27
ΔE00 4.51
Swamp
#698339
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7F17 #38177F
analogous
#7F6C17 #5E7F17 #2A7F17
triadic
#5E7F17 #175E7F #7F175E
tetradic
#5E7F17 #177F6C #38177F #7F172A
square
#5E7F17 #177F6C #38177F #7F172A
split-complementary
#5E7F17 #172A7F #6C177F
monochromatic
#131A05 #384B0E #5E7F17 #84B320 #A6DB36
Accessibility & contrast
On white
4.64
#5E7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#5E7F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5E7F17
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E7F17 | 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)
#827422
Tritanopia (blue-blind)
#62796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5e7f17; /* rgb */ color: rgb(94, 127, 23); /* oklch */ color: oklch(55.1% 0.132 126.5);
Tailwind
colors: {
custom: {
50: '#8fa45e',
500: '#5e7f17',
950: '#000000',
},
}SCSS
$custom: #5e7f17; $custom-light: #8fa45e; $custom-dark: #000000;
JSON
{
"hex": "#5e7f17",
"rgb": {
"r": 94,
"g": 127,
"b": 23
},
"hsl": {
"h": 79.038,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.5515,
"c": 0.13155,
"h": 126.5
},
"luminance": 0.1762
}Semantic roles & 50–950 ramp
primary
#5E7F17
secondary
#633EB4
accent
#3CEC74
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79