#21510E#21510E
#21510E is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.109 H 138.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #21510E |
|---|---|
| RGB | rgb(33, 81, 14) |
| HSL | hsl(103, 71%, 19%) |
| HSV | hsv(103, 83%, 32%) |
| CMYK | cmyk(59.3%, 0%, 82.7%, 68.2%) |
| CIE-LAB | lab(30.01, -29.64, 32.17) |
| CIE-LCH | lch(30.01, 43.74, 132.66°) |
| OKLab | oklab(38.68% -0.0818 0.0721) |
| OKLCH | oklch(38.68% 0.109 138.6) |
| XYZ | xyz(3.6488, 6.2396, 1.4275) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.79
Bottle Green
#044A05
ΔE00 3.31
Darkgreen (survey)
#054907
ΔE00 3.52
Deep Green
#02590F
ΔE00 4.00
British Racing Green
#05480D
ΔE00 4.11
Forrest Green
#154406
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21510E #3E0E51
analogous
#42510E #21510E #0E511C
triadic
#21510E #0E2151 #510E21
tetradic
#21510E #0E4251 #3E0E51 #511C0E
square
#21510E #0E4251 #3E0E51 #511C0E
split-complementary
#21510E #1C0E51 #510E42
monochromatic
#0B1A05 #0C1D05 #21510E #368517 #4CB920
Accessibility & contrast
On white
9.34
#21510E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#21510E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21510E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21510E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21510E | 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)
#544902
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#1D4E44
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #21510e; /* rgb */ color: rgb(33, 81, 14); /* oklch */ color: oklch(38.7% 0.109 138.6);
Tailwind
colors: {
custom: {
50: '#638252',
500: '#21510e',
950: '#000000',
},
}SCSS
$custom: #21510e; $custom-light: #638252; $custom-dark: #000000;
JSON
{
"hex": "#21510e",
"rgb": {
"r": 33,
"g": 81,
"b": 14
},
"hsl": {
"h": 102.985,
"s": 70.526,
"l": 18.627
},
"oklch": {
"l": 0.38681,
"c": 0.10901,
"h": 138.6
},
"luminance": 0.0624
}Semantic roles & 50–950 ramp
primary
#21510E
secondary
#712F8C
accent
#3AEDBB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78