#21520E#21520E
#21520E is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.110 H 138.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #21520E |
|---|---|
| RGB | rgb(33, 82, 14) |
| HSL | hsl(103, 71%, 19%) |
| HSV | hsv(103, 83%, 32%) |
| CMYK | cmyk(59.8%, 0%, 82.9%, 67.8%) |
| CIE-LAB | lab(30.37, -30.07, 32.52) |
| CIE-LCH | lch(30.37, 44.30, 132.76°) |
| OKLab | oklab(38.98% -0.083 0.0728) |
| OKLCH | oklch(38.98% 0.11 138.7) |
| XYZ | xyz(3.7236, 6.3893, 1.4524) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.58
Bottle Green
#044A05
ΔE00 3.48
Darkgreen (survey)
#054907
ΔE00 3.71
Deep Green
#02590F
ΔE00 3.75
Navy Green
#35530A
ΔE00 4.18
British Racing Green
#05480D
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21520E #3F0E52
analogous
#43520E #21520E #0E521D
triadic
#21520E #0E2152 #520E21
tetradic
#21520E #0E4352 #3F0E52 #521D0E
square
#21520E #0E4352 #3F0E52 #521D0E
split-complementary
#21520E #1D0E52 #520E43
monochromatic
#0B1A04 #0C1E05 #21520E #368617 #4BBB20
Accessibility & contrast
On white
9.22
#21520E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#21520E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21520E
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21520E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21520E | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A02
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#1C4F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #21520e; /* rgb */ color: rgb(33, 82, 14); /* oklch */ color: oklch(39.0% 0.110 138.7);
Tailwind
colors: {
custom: {
50: '#638352',
500: '#21520e',
950: '#000000',
},
}SCSS
$custom: #21520e; $custom-light: #638352; $custom-dark: #000000;
JSON
{
"hex": "#21520e",
"rgb": {
"r": 33,
"g": 82,
"b": 14
},
"hsl": {
"h": 103.235,
"s": 70.833,
"l": 18.824
},
"oklch": {
"l": 0.38982,
"c": 0.11037,
"h": 138.7
},
"luminance": 0.0639
}Semantic roles & 50–950 ramp
primary
#21520E
secondary
#722F8C
accent
#3AEEBB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78