#21510F#21510F
#21510F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.108 H 138.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #21510F |
|---|---|
| RGB | rgb(33, 81, 15) |
| HSL | hsl(104, 69%, 19%) |
| HSV | hsv(104, 81%, 32%) |
| CMYK | cmyk(59.3%, 0%, 81.5%, 68.2%) |
| CIE-LAB | lab(30.02, -29.57, 31.78) |
| CIE-LCH | lch(30.02, 43.41, 132.94°) |
| OKLab | oklab(38.69% -0.0815 0.0714) |
| OKLCH | oklch(38.69% 0.108 138.8) |
| XYZ | xyz(3.6557, 6.2424, 1.4641) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.81
Bottle Green
#044A05
ΔE00 3.30
Darkgreen (survey)
#054907
ΔE00 3.48
Deep Green
#02590F
ΔE00 3.99
British Racing Green
#05480D
ΔE00 4.03
Forrest Green
#154406
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21510F #3F0F51
analogous
#42510F #21510F #0F511E
triadic
#21510F #0F2151 #510F21
tetradic
#21510F #0F4251 #3F0F51 #511E0F
square
#21510F #0F4251 #3F0F51 #511E0F
split-complementary
#21510F #1E0F51 #510F42
monochromatic
#0B1A05 #0C1D05 #21510F #368519 #4BB822
Accessibility & contrast
On white
9.34
#21510F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#21510F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21510F
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21510F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21510F | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544903
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#1C4E44
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #21510f; /* rgb */ color: rgb(33, 81, 15); /* oklch */ color: oklch(38.7% 0.108 138.8);
Tailwind
colors: {
custom: {
50: '#638253',
500: '#21510f',
950: '#000000',
},
}SCSS
$custom: #21510f; $custom-light: #638253; $custom-dark: #000000;
JSON
{
"hex": "#21510f",
"rgb": {
"r": 33,
"g": 81,
"b": 15
},
"hsl": {
"h": 103.636,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.38689,
"c": 0.10838,
"h": 138.8
},
"luminance": 0.06243
}Semantic roles & 50–950 ramp
primary
#21510F
secondary
#72318B
accent
#3CECBC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78