#587F1C#587F1C
#587F1C is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.132 H 129.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #587F1C |
|---|---|
| RGB | rgb(88, 127, 28) |
| HSL | hsl(84, 64%, 30%) |
| HSV | hsv(84, 78%, 50%) |
| CMYK | cmyk(30.7%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(48.68, -29.20, 46.04) |
| CIE-LCH | lch(48.68, 54.52, 122.39°) |
| OKLab | oklab(54.78% -0.0834 0.1023) |
| OKLCH | oklch(54.78% 0.132 129.2) |
| XYZ | xyz(11.8234, 17.3370, 3.8218) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.25
Dirty Green
#667E2C
ΔE00 3.38
Sap Green
#5C8B15
ΔE00 4.53
Mossy Green
#638B27
ΔE00 4.55
Swamp
#698339
ΔE00 4.66
Dark Grass Green
#388004
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#587F1C #431C7F
analogous
#7F741C #587F1C #277F1C
triadic
#587F1C #1C587F #7F1C58
tetradic
#587F1C #1C7F74 #431C7F #7F1C27
square
#587F1C #1C7F74 #431C7F #7F1C27
split-complementary
#587F1C #1C277F #741C7F
monochromatic
#131B06 #354D11 #587F1C #7BB127 #9AD540
Accessibility & contrast
On white
4.70
#587F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#587F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #587F1C
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##587F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##587F1C | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#5B796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #587f1c; /* rgb */ color: rgb(88, 127, 28); /* oklch */ color: oklch(54.8% 0.132 129.2);
Tailwind
colors: {
custom: {
50: '#8ba460',
500: '#587f1c',
950: '#000000',
},
}SCSS
$custom: #587f1c; $custom-light: #8ba460; $custom-dark: #000000;
JSON
{
"hex": "#587f1c",
"rgb": {
"r": 88,
"g": 127,
"b": 28
},
"hsl": {
"h": 83.636,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.54775,
"c": 0.13202,
"h": 129.2
},
"luminance": 0.17337
}Semantic roles & 50–950 ramp
primary
#587F1C
secondary
#7044B3
accent
#41E782
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79