#587F18#587F18
#587F18 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.134 H 128.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #587F18 |
|---|---|
| RGB | rgb(88, 127, 24) |
| HSL | hsl(83, 68%, 30%) |
| HSV | hsv(83, 81%, 50%) |
| CMYK | cmyk(30.7%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(48.66, -29.42, 47.37) |
| CIE-LCH | lch(48.66, 55.77, 121.85°) |
| OKLab | oklab(54.75% -0.0843 0.1045) |
| OKLCH | oklch(54.75% 0.134 128.9) |
| XYZ | xyz(11.7787, 17.3191, 3.5863) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.89
Dirty Green
#667E2C
ΔE00 3.54
Sap Green
#5C8B15
ΔE00 4.42
Mossy Green
#638B27
ΔE00 4.58
Swamp
#698339
ΔE00 4.93
Dark Grass Green
#388004
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#587F18 #3F187F
analogous
#7F7218 #587F18 #257F18
triadic
#587F18 #18587F #7F1858
tetradic
#587F18 #187F72 #3F187F #7F1825
square
#587F18 #187F72 #3F187F #7F1825
split-complementary
#587F18 #18257F #72187F
monochromatic
#121A05 #344C0E #587F18 #7CB222 #9CD938
Accessibility & contrast
On white
4.70
#587F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#587F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #587F18
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##587F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##587F18 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#5B796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #587f18; /* rgb */ color: rgb(88, 127, 24); /* oklch */ color: oklch(54.7% 0.134 128.9);
Tailwind
colors: {
custom: {
50: '#8ba45f',
500: '#587f18',
950: '#000000',
},
}SCSS
$custom: #587f18; $custom-light: #8ba45f; $custom-dark: #000000;
JSON
{
"hex": "#587f18",
"rgb": {
"r": 88,
"g": 127,
"b": 24
},
"hsl": {
"h": 82.718,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.54749,
"c": 0.13424,
"h": 128.9
},
"luminance": 0.17319
}Semantic roles & 50–950 ramp
primary
#587F18
secondary
#6B3FB3
accent
#3DEB7F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79