#21520B#21520B
#21520B is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.112 H 138.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #21520B |
|---|---|
| RGB | rgb(33, 82, 11) |
| HSL | hsl(101, 76%, 18%) |
| HSV | hsv(101, 87%, 32%) |
| CMYK | cmyk(59.8%, 0%, 86.6%, 67.8%) |
| CIE-LAB | lab(30.36, -30.28, 33.60) |
| CIE-LCH | lch(30.36, 45.23, 132.03°) |
| OKLab | oklab(38.96% -0.0837 0.0746) |
| OKLCH | oklch(38.96% 0.112 138.3) |
| XYZ | xyz(3.7048, 6.3818, 1.3531) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.60
Bottle Green
#044A05
ΔE00 3.58
Deep Green
#02590F
ΔE00 3.83
Darkgreen (survey)
#054907
ΔE00 3.85
Navy Green
#35530A
ΔE00 3.98
Racing Green
#014600
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21520B #3C0B52
analogous
#44520B #21520B #0B5218
triadic
#21520B #0B2152 #520B21
tetradic
#21520B #0B4452 #3C0B52 #52180B
square
#21520B #0B4452 #3C0B52 #52180B
split-complementary
#21520B #180B52 #520B44
monochromatic
#0B1B04 #0B1C04 #21520B #378812 #4CBE19
Accessibility & contrast
On white
9.23
#21520B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#21520B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21520B
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21520B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21520B | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#1D4F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #21520b; /* rgb */ color: rgb(33, 82, 11); /* oklch */ color: oklch(39.0% 0.112 138.3);
Tailwind
colors: {
custom: {
50: '#638351',
500: '#21520b',
950: '#000000',
},
}SCSS
$custom: #21520b; $custom-light: #638351; $custom-dark: #000000;
JSON
{
"hex": "#21520b",
"rgb": {
"r": 33,
"g": 82,
"b": 11
},
"hsl": {
"h": 101.408,
"s": 76.344,
"l": 18.235
},
"oklch": {
"l": 0.38961,
"c": 0.11209,
"h": 138.3
},
"luminance": 0.06382
}Semantic roles & 50–950 ramp
primary
#21520B
secondary
#6F2B8E
accent
#35F3B8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78