#577F21#577F21
#577F21 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.129 H 130.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #577F21 |
|---|---|
| RGB | rgb(87, 127, 33) |
| HSL | hsl(86, 59%, 31%) |
| HSV | hsv(86, 74%, 50%) |
| CMYK | cmyk(31.5%, 0%, 74%, 50.2%) |
| CIE-LAB | lab(48.65, -29.29, 44.12) |
| CIE-LCH | lch(48.65, 52.95, 123.58°) |
| OKLab | oklab(54.75% -0.0832 0.0991) |
| OKLCH | oklch(54.75% 0.129 130) |
| XYZ | xyz(11.7943, 17.3144, 4.1592) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.85
Dirty Green
#667E2C
ΔE00 3.42
Swamp
#698339
ΔE00 4.43
Mossy Green
#638B27
ΔE00 4.65
Sap Green
#5C8B15
ΔE00 4.78
Dark Grass Green
#388004
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#577F21 #49217F
analogous
#7F7821 #577F21 #287F21
triadic
#577F21 #21577F #7F2157
tetradic
#577F21 #217F78 #49217F #7F2128
square
#577F21 #217F78 #49217F #7F2128
split-complementary
#577F21 #21287F #78217F
monochromatic
#141E08 #364E14 #577F21 #78B02E #97D04A
Accessibility & contrast
On white
4.71
#577F21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#577F21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #577F21
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##577F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##577F21 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857511
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#59796D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #577f21; /* rgb */ color: rgb(87, 127, 33); /* oklch */ color: oklch(54.7% 0.129 130.0);
Tailwind
colors: {
custom: {
50: '#8aa463',
500: '#577f21',
950: '#000000',
},
}SCSS
$custom: #577f21; $custom-light: #8aa463; $custom-dark: #000000;
JSON
{
"hex": "#577f21",
"rgb": {
"r": 87,
"g": 127,
"b": 33
},
"hsl": {
"h": 85.532,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.54746,
"c": 0.1294,
"h": 130
},
"luminance": 0.17315
}Semantic roles & 50–950 ramp
primary
#577F21
secondary
#764AB2
accent
#46E288
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A