#21571D#21571D
#21571D is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.106 H 142.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #21571D |
|---|---|
| RGB | rgb(33, 87, 29) |
| HSL | hsl(116, 50%, 23%) |
| HSV | hsv(116, 67%, 34%) |
| CMYK | cmyk(62.1%, 0%, 66.7%, 65.9%) |
| CIE-LAB | lab(32.32, -30.71, 27.76) |
| CIE-LCH | lch(32.32, 41.40, 137.89°) |
| OKLab | oklab(40.63% -0.0837 0.0649) |
| OKLCH | oklch(40.63% 0.106 142.2) |
| XYZ | xyz(4.2569, 7.2281, 2.3330) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.26
Forest
#0B5509
ΔE00 3.17
Deep Green
#02590F
ΔE00 3.26
Bottle Green
#044A05
ΔE00 4.81
Pine
#2B5D34
ΔE00 4.86
Darkgreen (survey)
#054907
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21571D #531D57
analogous
#3E571D #21571D #1D5736
triadic
#21571D #1D2157 #571D21
tetradic
#21571D #1D3E57 #531D57 #57361D
square
#21571D #1D3E57 #531D57 #57361D
split-complementary
#21571D #361D57 #571D3E
monochromatic
#091708 #10290E #21571D #32852C #44B33C
Accessibility & contrast
On white
8.59
#21571D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#21571D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21571D
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21571D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21571D | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#19544B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #21571d; /* rgb */ color: rgb(33, 87, 29); /* oklch */ color: oklch(40.6% 0.106 142.2);
Tailwind
colors: {
custom: {
50: '#63875b',
500: '#21571d',
950: '#000000',
},
}SCSS
$custom: #21571d; $custom-light: #63875b; $custom-dark: #000000;
JSON
{
"hex": "#21571d",
"rgb": {
"r": 33,
"g": 87,
"b": 29
},
"hsl": {
"h": 115.862,
"s": 50,
"l": 22.745
},
"oklch": {
"l": 0.40629,
"c": 0.10589,
"h": 142.2
},
"luminance": 0.07228
}Semantic roles & 50–950 ramp
primary
#21571D
secondary
#87448C
accent
#4EDAD0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79