#57801B#57801B
#57801B is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.0% C 0.134 H 129.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #57801B |
|---|---|
| RGB | rgb(87, 128, 27) |
| HSL | hsl(84, 65%, 30%) |
| HSV | hsv(84, 79%, 50%) |
| CMYK | cmyk(32%, 0%, 78.9%, 49.8%) |
| CIE-LAB | lab(48.94, -30.14, 46.61) |
| CIE-LCH | lch(48.94, 55.50, 122.89°) |
| OKLab | oklab(54.97% -0.086 0.1034) |
| OKLCH | oklch(54.97% 0.134 129.7) |
| XYZ | xyz(11.8474, 17.5433, 3.7987) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.00
Dirty Green
#667E2C
ΔE00 3.70
Sap Green
#5C8B15
ΔE00 4.17
Mossy Green
#638B27
ΔE00 4.29
Dark Grass Green
#388004
ΔE00 4.69
Swamp
#698339
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57801B #441B80
analogous
#80761B #57801B #25801B
triadic
#57801B #1B5780 #801B57
tetradic
#57801B #1B8076 #441B80 #801B25
square
#57801B #1B8076 #441B80 #801B25
split-complementary
#57801B #1B2580 #761B80
monochromatic
#121B06 #354D10 #57801B #79B326 #99D63F
Accessibility & contrast
On white
4.66
#57801B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#57801B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #57801B
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57801B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57801B | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#5A7A6D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #57801b; /* rgb */ color: rgb(87, 128, 27); /* oklch */ color: oklch(55.0% 0.134 129.7);
Tailwind
colors: {
custom: {
50: '#8aa560',
500: '#57801b',
950: '#000000',
},
}SCSS
$custom: #57801b; $custom-light: #8aa560; $custom-dark: #000000;
JSON
{
"hex": "#57801b",
"rgb": {
"r": 87,
"g": 128,
"b": 27
},
"hsl": {
"h": 84.356,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.54965,
"c": 0.13445,
"h": 129.7
},
"luminance": 0.17544
}Semantic roles & 50–950 ramp
primary
#57801B
secondary
#7143B4
accent
#40E884
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79