#587E1F#587E1F
#587E1F is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.5% C 0.129 H 129.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #587E1F |
|---|---|
| RGB | rgb(88, 126, 31) |
| HSL | hsl(84, 61%, 31%) |
| HSV | hsv(84, 75%, 49%) |
| CMYK | cmyk(30.2%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(48.38, -28.54, 44.64) |
| CIE-LCH | lch(48.38, 52.98, 122.60°) |
| OKLab | oklab(54.54% -0.0814 0.0999) |
| OKLCH | oklch(54.54% 0.129 129.2) |
| XYZ | xyz(11.7326, 17.0950, 3.9776) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.79
Dirty Green
#667E2C
ΔE00 3.18
Swamp
#698339
ΔE00 4.50
Mossy Green
#638B27
ΔE00 4.89
Sap Green
#5C8B15
ΔE00 5.00
Dark Grass Green
#388004
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#587E1F #451F7E
analogous
#7E741F #587E1F #287E1F
triadic
#587E1F #1F587E #7E1F58
tetradic
#587E1F #1F7E74 #451F7E #7E1F28
square
#587E1F #1F7E74 #451F7E #7E1F28
split-complementary
#587E1F #1F287E #741F7E
monochromatic
#131C07 #364D13 #587E1F #7AAF2B #9AD146
Accessibility & contrast
On white
4.75
#587E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#587E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #587E1F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##587E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##587E1F | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750D
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#5B786C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #587e1f; /* rgb */ color: rgb(88, 126, 31); /* oklch */ color: oklch(54.5% 0.129 129.2);
Tailwind
colors: {
custom: {
50: '#8ba362',
500: '#587e1f',
950: '#000000',
},
}SCSS
$custom: #587e1f; $custom-light: #8ba362; $custom-dark: #000000;
JSON
{
"hex": "#587e1f",
"rgb": {
"r": 88,
"g": 126,
"b": 31
},
"hsl": {
"h": 84,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.54535,
"c": 0.12883,
"h": 129.2
},
"luminance": 0.17095
}Semantic roles & 50–950 ramp
primary
#587E1F
secondary
#7248B1
accent
#44E484
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A