#5D7F17#5D7F17
#5D7F17 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.132 H 126.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7F17 |
|---|---|
| RGB | rgb(93, 127, 23) |
| HSL | hsl(80, 69%, 29%) |
| HSV | hsv(80, 82%, 50%) |
| CMYK | cmyk(26.8%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(48.97, -27.41, 48.09) |
| CIE-LCH | lch(48.97, 55.35, 119.69°) |
| OKLab | oklab(55.08% -0.0792 0.1057) |
| OKLCH | oklch(55.08% 0.132 126.9) |
| XYZ | xyz(12.2583, 17.5675, 3.5555) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.10
Dirty Green
#667E2C
ΔE00 2.98
Olive Green
#677A04
ΔE00 4.11
Sap Green
#5C8B15
ΔE00 4.46
Mossy Green
#638B27
ΔE00 4.50
Swamp
#698339
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7F17 #39177F
analogous
#7F6D17 #5D7F17 #297F17
triadic
#5D7F17 #175D7F #7F175D
tetradic
#5D7F17 #177F6D #39177F #7F1729
square
#5D7F17 #177F6D #39177F #7F1729
split-complementary
#5D7F17 #17297F #6D177F
monochromatic
#131A05 #374B0E #5D7F17 #83B320 #A5DB36
Accessibility & contrast
On white
4.65
#5D7F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#5D7F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5D7F17
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D7F17 | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817422
Tritanopia (blue-blind)
#61796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5d7f17; /* rgb */ color: rgb(93, 127, 23); /* oklch */ color: oklch(55.1% 0.132 126.9);
Tailwind
colors: {
custom: {
50: '#8fa45e',
500: '#5d7f17',
950: '#000000',
},
}SCSS
$custom: #5d7f17; $custom-light: #8fa45e; $custom-dark: #000000;
JSON
{
"hex": "#5d7f17",
"rgb": {
"r": 93,
"g": 127,
"b": 23
},
"hsl": {
"h": 79.615,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.5508,
"c": 0.13208,
"h": 126.9
},
"luminance": 0.17568
}Semantic roles & 50–950 ramp
primary
#5D7F17
secondary
#653EB4
accent
#3CEC75
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79