#587C18#587C18
#587C18 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.0% C 0.130 H 128.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #587C18 |
|---|---|
| RGB | rgb(88, 124, 24) |
| HSL | hsl(82, 68%, 29%) |
| HSV | hsv(82, 81%, 49%) |
| CMYK | cmyk(29%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(47.70, -27.99, 46.48) |
| CIE-LCH | lch(47.70, 54.25, 121.06°) |
| OKLab | oklab(53.97% -0.0804 0.1026) |
| OKLCH | oklch(53.97% 0.13 128.1) |
| XYZ | xyz(11.3970, 16.5557, 3.4591) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.76
Dirty Green
#667E2C
ΔE00 3.35
Olive Green
#677A04
ΔE00 4.71
Swamp
#698339
ΔE00 5.17
Dark Grass Green
#388004
ΔE00 5.39
Sap Green
#5C8B15
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#587C18 #3C187C
analogous
#7C6E18 #587C18 #267C18
triadic
#587C18 #18587C #7C1858
tetradic
#587C18 #187C6E #3C187C #7C1826
square
#587C18 #187C6E #3C187C #7C1826
split-complementary
#587C18 #18267C #6E187C
monochromatic
#121A05 #34490E #587C18 #7CAF22 #9ED836
Accessibility & contrast
On white
4.87
#587C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#587C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #587C18
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##587C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##587C18 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#5B7669
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #587c18; /* rgb */ color: rgb(88, 124, 24); /* oklch */ color: oklch(54.0% 0.130 128.1);
Tailwind
colors: {
custom: {
50: '#8ba25e',
500: '#587c18',
950: '#000000',
},
}SCSS
$custom: #587c18; $custom-light: #8ba25e; $custom-dark: #000000;
JSON
{
"hex": "#587c18",
"rgb": {
"r": 88,
"g": 124,
"b": 24
},
"hsl": {
"h": 81.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.53965,
"c": 0.13034,
"h": 128.1
},
"luminance": 0.16556
}Semantic roles & 50–950 ramp
primary
#587C18
secondary
#683FB1
accent
#3DEA7C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79