#5D7F18#5D7F18
#5D7F18 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 | #5D7F18 |
|---|---|
| RGB | rgb(93, 127, 24) |
| HSL | hsl(80, 68%, 30%) |
| HSV | hsv(80, 81%, 50%) |
| CMYK | cmyk(26.8%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(48.97, -27.36, 47.77) |
| CIE-LCH | lch(48.97, 55.06, 119.80°) |
| OKLab | oklab(55.09% -0.079 0.1052) |
| OKLCH | oklch(55.09% 0.132 126.9) |
| XYZ | xyz(12.2685, 17.5716, 3.6093) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.15
Dirty Green
#667E2C
ΔE00 2.91
Olive Green
#677A04
ΔE00 4.17
Sap Green
#5C8B15
ΔE00 4.47
Mossy Green
#638B27
ΔE00 4.47
Swamp
#698339
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7F18 #3A187F
analogous
#7F6E18 #5D7F18 #297F18
triadic
#5D7F18 #185D7F #7F185D
tetradic
#5D7F18 #187F6E #3A187F #7F1829
square
#5D7F18 #187F6E #3A187F #7F1829
split-complementary
#5D7F18 #18297F #6E187F
monochromatic
#131A05 #374C0E #5D7F18 #83B222 #A4D938
Accessibility & contrast
On white
4.65
#5D7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#5D7F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5D7F18
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D7F18 | 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)
#817423
Tritanopia (blue-blind)
#61796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5d7f18; /* rgb */ color: rgb(93, 127, 24); /* oklch */ color: oklch(55.1% 0.132 126.9);
Tailwind
colors: {
custom: {
50: '#8fa45f',
500: '#5d7f18',
950: '#000000',
},
}SCSS
$custom: #5d7f18; $custom-light: #8fa45f; $custom-dark: #000000;
JSON
{
"hex": "#5d7f18",
"rgb": {
"r": 93,
"g": 127,
"b": 24
},
"hsl": {
"h": 79.806,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.55086,
"c": 0.13156,
"h": 126.9
},
"luminance": 0.17572
}Semantic roles & 50–950 ramp
primary
#5D7F18
secondary
#663FB3
accent
#3DEB76
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79