#587F1F#587F1F
#587F1F is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.130 H 129.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #587F1F |
|---|---|
| RGB | rgb(88, 127, 31) |
| HSL | hsl(84, 61%, 31%) |
| HSV | hsv(84, 76%, 50%) |
| CMYK | cmyk(30.7%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(48.70, -29.02, 44.95) |
| CIE-LCH | lch(48.70, 53.51, 122.84°) |
| OKLab | oklab(54.8% -0.0827 0.1006) |
| OKLCH | oklch(54.8% 0.13 129.4) |
| XYZ | xyz(11.8612, 17.3520, 4.0204) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.57
Dirty Green
#667E2C
ΔE00 3.28
Swamp
#698339
ΔE00 4.45
Mossy Green
#638B27
ΔE00 4.55
Sap Green
#5C8B15
ΔE00 4.64
Dark Grass Green
#388004
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#587F1F #461F7F
analogous
#7F761F #587F1F #287F1F
triadic
#587F1F #1F587F #7F1F58
tetradic
#587F1F #1F7F76 #461F7F #7F1F28
square
#587F1F #1F7F76 #461F7F #7F1F28
split-complementary
#587F1F #1F287F #761F7F
monochromatic
#141D07 #364E13 #587F1F #7AB02B #99D246
Accessibility & contrast
On white
4.70
#587F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#587F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #587F1F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##587F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##587F1F | 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)
#85750C
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#5B796C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #587f1f; /* rgb */ color: rgb(88, 127, 31); /* oklch */ color: oklch(54.8% 0.130 129.4);
Tailwind
colors: {
custom: {
50: '#8ba462',
500: '#587f1f',
950: '#000000',
},
}SCSS
$custom: #587f1f; $custom-light: #8ba462; $custom-dark: #000000;
JSON
{
"hex": "#587f1f",
"rgb": {
"r": 88,
"g": 127,
"b": 31
},
"hsl": {
"h": 84.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.54796,
"c": 0.13017,
"h": 129.4
},
"luminance": 0.17352
}Semantic roles & 50–950 ramp
primary
#587F1F
secondary
#7348B2
accent
#44E485
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A