#20571F#20571F
#20571F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.105 H 143.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #20571F |
|---|---|
| RGB | rgb(32, 87, 31) |
| HSL | hsl(119, 47%, 23%) |
| HSV | hsv(119, 64%, 34%) |
| CMYK | cmyk(63.2%, 0%, 64.4%, 65.9%) |
| CIE-LAB | lab(32.31, -30.74, 26.70) |
| CIE-LCH | lch(32.31, 40.72, 139.02°) |
| OKLab | oklab(40.62% -0.0836 0.0628) |
| OKLCH | oklch(40.62% 0.105 143.1) |
| XYZ | xyz(4.2509, 7.2220, 2.4660) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.15
Deep Green
#02590F
ΔE00 3.46
Forest
#0B5509
ΔE00 3.48
Pine
#2B5D34
ΔE00 4.47
Bottle Green
#044A05
ΔE00 4.95
British Racing Green
#05480D
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20571F #561F57
analogous
#3C571F #20571F #1F573A
triadic
#20571F #1F2057 #571F20
tetradic
#20571F #1F3C57 #561F57 #573A1F
square
#20571F #1F3C57 #561F57 #573A1F
split-complementary
#20571F #3A1F57 #571F3C
monochromatic
#081708 #0F2A0F #20571F #31842F #41B13F
Accessibility & contrast
On white
8.59
#20571F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#20571F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20571F
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20571F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20571F | 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)
#594F19
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#17544B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #20571f; /* rgb */ color: rgb(32, 87, 31); /* oklch */ color: oklch(40.6% 0.105 143.1);
Tailwind
colors: {
custom: {
50: '#62875d',
500: '#20571f',
950: '#000000',
},
}SCSS
$custom: #20571f; $custom-light: #62875d; $custom-dark: #000000;
JSON
{
"hex": "#20571f",
"rgb": {
"r": 32,
"g": 87,
"b": 31
},
"hsl": {
"h": 118.929,
"s": 47.458,
"l": 23.137
},
"oklch": {
"l": 0.40615,
"c": 0.10455,
"h": 143.1
},
"luminance": 0.07222
}Semantic roles & 50–950 ramp
primary
#20571F
secondary
#8B468C
accent
#51D7D5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79