#21591C#21591C
#21591C is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.110 H 142.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #21591C |
|---|---|
| RGB | rgb(33, 89, 28) |
| HSL | hsl(115, 52%, 23%) |
| HSV | hsv(115, 69%, 35%) |
| CMYK | cmyk(62.9%, 0%, 68.5%, 65.1%) |
| CIE-LAB | lab(33.03, -31.69, 29.06) |
| CIE-LCH | lch(33.03, 42.99, 137.47°) |
| OKLab | oklab(41.21% -0.0864 0.0675) |
| OKLCH | oklch(41.21% 0.11 142) |
| XYZ | xyz(4.4090, 7.5515, 2.3236) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.49
Deep Green
#02590F
ΔE00 2.82
Forest
#0B5509
ΔE00 2.94
Pine
#2B5D34
ΔE00 5.12
Bottle Green
#044A05
ΔE00 5.17
Darkgreen (survey)
#054907
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21591C #541C59
analogous
#3F591C #21591C #1C5935
triadic
#21591C #1C2159 #591C21
tetradic
#21591C #1C3F59 #541C59 #59351C
square
#21591C #1C3F59 #541C59 #59351C
split-complementary
#21591C #351C59 #591C3F
monochromatic
#091707 #102A0D #21591C #32882B #44B639
Accessibility & contrast
On white
8.37
#21591C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#21591C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21591C
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21591C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21591C | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5115
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#18564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #21591c; /* rgb */ color: rgb(33, 89, 28); /* oklch */ color: oklch(41.2% 0.110 142.0);
Tailwind
colors: {
custom: {
50: '#63885b',
500: '#21591c',
950: '#000000',
},
}SCSS
$custom: #21591c; $custom-light: #63885b; $custom-dark: #000000;
JSON
{
"hex": "#21591c",
"rgb": {
"r": 33,
"g": 89,
"b": 28
},
"hsl": {
"h": 115.082,
"s": 52.137,
"l": 22.941
},
"oklch": {
"l": 0.41212,
"c": 0.10964,
"h": 142
},
"luminance": 0.07552
}Semantic roles & 50–950 ramp
primary
#21591C
secondary
#88428F
accent
#4CDCD0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79