#57971B#57971B
#57971B is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.0% C 0.164 H 133.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #57971B |
|---|---|
| RGB | rgb(87, 151, 27) |
| HSL | hsl(91, 70%, 35%) |
| HSV | hsv(91, 82%, 59%) |
| CMYK | cmyk(42.4%, 0%, 82.1%, 40.8%) |
| CIE-LAB | lab(56.33, -40.38, 53.49) |
| CIE-LCH | lch(56.33, 67.02, 127.05°) |
| OKLab | oklab(61% -0.1136 0.1178) |
| OKLCH | oklch(61% 0.164 133.9) |
| XYZ | xyz(15.1946, 24.2378, 4.9144) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 3.05
Grass Green
#3F9B0B
ΔE00 3.06
Sap Green
#5C8B15
ΔE00 4.30
Lawn Green
#4DA409
ΔE00 4.38
Mossy Green
#638B27
ΔE00 4.85
Olivedrab
#6B8E23
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57971B #5B1B97
analogous
#95971B #57971B #1B971D
triadic
#57971B #1B5797 #971B57
tetradic
#57971B #1B9597 #5B1B97 #971D1B
square
#57971B #1B9597 #5B1B97 #971D1B
split-complementary
#57971B #1D1B97 #971B95
monochromatic
#1B2F08 #396312 #57971B #75CB24 #94DF4D
Accessibility & contrast
On white
3.59
#57971B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#57971B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #57971B
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57971B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##57971B | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#569181
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #57971b; /* rgb */ color: rgb(87, 151, 27); /* oklch */ color: oklch(61.0% 0.164 133.9);
Tailwind
colors: {
custom: {
50: '#8cb663',
500: '#57971b',
950: '#000000',
},
}SCSS
$custom: #57971b; $custom-light: #8cb663; $custom-dark: #000000;
JSON
{
"hex": "#57971b",
"rgb": {
"r": 87,
"g": 151,
"b": 27
},
"hsl": {
"h": 90.968,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.61002,
"c": 0.16367,
"h": 133.9
},
"luminance": 0.24239
}Semantic roles & 50–950 ramp
primary
#57971B
secondary
#894CC1
accent
#3BEC97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A