#587D1B#587D1B
#587D1B is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.2% C 0.130 H 128.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #587D1B |
|---|---|
| RGB | rgb(88, 125, 27) |
| HSL | hsl(83, 64%, 30%) |
| HSV | hsv(83, 78%, 49%) |
| CMYK | cmyk(29.6%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(48.03, -28.31, 45.77) |
| CIE-LCH | lch(48.03, 53.82, 121.73°) |
| OKLab | oklab(54.25% -0.0811 0.1016) |
| OKLCH | oklch(54.25% 0.13 128.6) |
| XYZ | xyz(11.5559, 16.8208, 3.6746) |
| Luminance | 0.1682 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.67
Dirty Green
#667E2C
ΔE00 3.25
Swamp
#698339
ΔE00 4.87
Olive Green
#677A04
ΔE00 5.04
Dark Grass Green
#388004
ΔE00 5.21
Sap Green
#5C8B15
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#587D1B #401B7D
analogous
#7D711B #587D1B #277D1B
triadic
#587D1B #1B587D #7D1B58
tetradic
#587D1B #1B7D71 #401B7D #7D1B27
square
#587D1B #1B7D71 #401B7D #7D1B27
split-complementary
#587D1B #1B277D #711B7D
monochromatic
#121905 #354B10 #587D1B #7BAF26 #9CD53D
Accessibility & contrast
On white
4.81
#587D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#587D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #587D1B
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##587D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##587D1B | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837404
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#5B776B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #587d1b; /* rgb */ color: rgb(88, 125, 27); /* oklch */ color: oklch(54.2% 0.130 128.6);
Tailwind
colors: {
custom: {
50: '#8ba360',
500: '#587d1b',
950: '#000000',
},
}SCSS
$custom: #587d1b; $custom-light: #8ba360; $custom-dark: #000000;
JSON
{
"hex": "#587d1b",
"rgb": {
"r": 88,
"g": 125,
"b": 27
},
"hsl": {
"h": 82.653,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.54245,
"c": 0.12997,
"h": 128.6
},
"luminance": 0.16821
}Semantic roles & 50–950 ramp
primary
#587D1B
secondary
#6C43B1
accent
#40E77F
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0C0F05
muted
#7D7F79