#557F21#557F21
#557F21 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.130 H 130.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #557F21 |
|---|---|
| RGB | rgb(85, 127, 33) |
| HSL | hsl(87, 59%, 31%) |
| HSV | hsv(87, 74%, 50%) |
| CMYK | cmyk(33.1%, 0%, 74%, 50.2%) |
| CIE-LAB | lab(48.54, -30.08, 43.96) |
| CIE-LCH | lch(48.54, 53.27, 124.39°) |
| OKLab | oklab(54.62% -0.0852 0.0988) |
| OKLCH | oklch(54.62% 0.13 130.8) |
| XYZ | xyz(11.6101, 17.2195, 4.1505) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.99
Dirty Green
#667E2C
ΔE00 3.79
Dark Grass Green
#388004
ΔE00 4.47
Swamp
#698339
ΔE00 4.68
Mossy Green
#638B27
ΔE00 4.81
Sap Green
#5C8B15
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#557F21 #4B217F
analogous
#7F7A21 #557F21 #267F21
triadic
#557F21 #21557F #7F2155
tetradic
#557F21 #217F7A #4B217F #7F2126
square
#557F21 #217F7A #4B217F #7F2126
split-complementary
#557F21 #21267F #7A217F
monochromatic
#141E08 #344E14 #557F21 #76B02E #94D04A
Accessibility & contrast
On white
4.73
#557F21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#557F21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #557F21
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##557F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##557F21 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857511
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#57796D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #557f21; /* rgb */ color: rgb(85, 127, 33); /* oklch */ color: oklch(54.6% 0.130 130.8);
Tailwind
colors: {
custom: {
50: '#89a463',
500: '#557f21',
950: '#000000',
},
}SCSS
$custom: #557f21; $custom-light: #89a463; $custom-dark: #000000;
JSON
{
"hex": "#557f21",
"rgb": {
"r": 85,
"g": 127,
"b": 33
},
"hsl": {
"h": 86.809,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.54618,
"c": 0.13049,
"h": 130.8
},
"luminance": 0.1722
}Semantic roles & 50–950 ramp
primary
#557F21
secondary
#784AB2
accent
#46E28C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A