#20571E#20571E
#20571E is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.105 H 142.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #20571E |
|---|---|
| RGB | rgb(32, 87, 30) |
| HSL | hsl(118, 49%, 23%) |
| HSV | hsv(118, 66%, 34%) |
| CMYK | cmyk(63.2%, 0%, 65.5%, 65.9%) |
| CIE-LAB | lab(32.30, -30.87, 27.21) |
| CIE-LCH | lch(32.30, 41.15, 138.61°) |
| OKLab | oklab(40.6% -0.084 0.0638) |
| OKLCH | oklch(40.6% 0.105 142.8) |
| XYZ | xyz(4.2380, 7.2168, 2.3977) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.23
Forest
#0B5509
ΔE00 3.30
Deep Green
#02590F
ΔE00 3.32
Pine
#2B5D34
ΔE00 4.66
Bottle Green
#044A05
ΔE00 4.86
Darkgreen (survey)
#054907
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20571E #551E57
analogous
#3C571E #20571E #1E5738
triadic
#20571E #1E2057 #571E20
tetradic
#20571E #1E3C57 #551E57 #57381E
square
#20571E #1E3C57 #551E57 #57381E
split-complementary
#20571E #381E57 #571E3C
monochromatic
#081708 #0F290E #20571E #31852E #41B23D
Accessibility & contrast
On white
8.59
#20571E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#20571E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20571E
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20571E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20571E | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F18
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#17544B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #20571e; /* rgb */ color: rgb(32, 87, 30); /* oklch */ color: oklch(40.6% 0.105 142.8);
Tailwind
colors: {
custom: {
50: '#62875c',
500: '#20571e',
950: '#000000',
},
}SCSS
$custom: #20571e; $custom-light: #62875c; $custom-dark: #000000;
JSON
{
"hex": "#20571e",
"rgb": {
"r": 32,
"g": 87,
"b": 30
},
"hsl": {
"h": 117.895,
"s": 48.718,
"l": 22.941
},
"oklch": {
"l": 0.40602,
"c": 0.10548,
"h": 142.8
},
"luminance": 0.07217
}Semantic roles & 50–950 ramp
primary
#20571E
secondary
#8A458C
accent
#50D8D3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79