#21520F#21520F
#21520F is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.110 H 138.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #21520F |
|---|---|
| RGB | rgb(33, 82, 15) |
| HSL | hsl(104, 69%, 19%) |
| HSV | hsv(104, 82%, 32%) |
| CMYK | cmyk(59.8%, 0%, 81.7%, 67.8%) |
| CIE-LAB | lab(30.38, -30.00, 32.14) |
| CIE-LCH | lch(30.38, 43.96, 133.02°) |
| OKLab | oklab(38.99% -0.0827 0.0722) |
| OKLCH | oklch(38.99% 0.11 138.9) |
| XYZ | xyz(3.7306, 6.3921, 1.4891) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.59
Bottle Green
#044A05
ΔE00 3.46
Darkgreen (survey)
#054907
ΔE00 3.68
Deep Green
#02590F
ΔE00 3.74
British Racing Green
#05480D
ΔE00 4.25
Navy Green
#35530A
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21520F #400F52
analogous
#43520F #21520F #0F521F
triadic
#21520F #0F2152 #520F21
tetradic
#21520F #0F4352 #400F52 #521F0F
square
#21520F #0F4352 #400F52 #521F0F
split-complementary
#21520F #1F0F52 #520F43
monochromatic
#0A1A05 #0C1E06 #21520F #368618 #4BB922
Accessibility & contrast
On white
9.22
#21520F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#21520F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21520F
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21520F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21520F | 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)
#554A03
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#1C4F45
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #21520f; /* rgb */ color: rgb(33, 82, 15); /* oklch */ color: oklch(39.0% 0.110 138.9);
Tailwind
colors: {
custom: {
50: '#638353',
500: '#21520f',
950: '#000000',
},
}SCSS
$custom: #21520f; $custom-light: #638353; $custom-dark: #000000;
JSON
{
"hex": "#21520f",
"rgb": {
"r": 33,
"g": 82,
"b": 15
},
"hsl": {
"h": 103.881,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.3899,
"c": 0.10974,
"h": 138.9
},
"luminance": 0.06392
}Semantic roles & 50–950 ramp
primary
#21520F
secondary
#74318C
accent
#3CECBD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78