#21510C#21510C
#21510C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.110 H 138.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #21510C |
|---|---|
| RGB | rgb(33, 81, 12) |
| HSL | hsl(102, 74%, 18%) |
| HSV | hsv(102, 85%, 32%) |
| CMYK | cmyk(59.3%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(30.00, -29.79, 32.91) |
| CIE-LCH | lch(30.00, 44.39, 132.15°) |
| OKLab | oklab(38.67% -0.0823 0.0733) |
| OKLCH | oklch(38.67% 0.11 138.3) |
| XYZ | xyz(3.6359, 6.2344, 1.3595) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.79
Bottle Green
#044A05
ΔE00 3.37
Darkgreen (survey)
#054907
ΔE00 3.61
Deep Green
#02590F
ΔE00 4.04
Navy Green
#35530A
ΔE00 4.04
Forrest Green
#154406
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21510C #3C0C51
analogous
#43510C #21510C #0C5119
triadic
#21510C #0C2151 #510C21
tetradic
#21510C #0C4351 #3C0C51 #51190C
square
#21510C #0C4351 #3C0C51 #51190C
split-complementary
#21510C #190C51 #510C43
monochromatic
#0B1B04 #0B1C04 #21510C #378614 #4CBC1C
Accessibility & contrast
On white
9.35
#21510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#21510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21510C
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21510C | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#1D4E44
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #21510c; /* rgb */ color: rgb(33, 81, 12); /* oklch */ color: oklch(38.7% 0.110 138.3);
Tailwind
colors: {
custom: {
50: '#638251',
500: '#21510c',
950: '#000000',
},
}SCSS
$custom: #21510c; $custom-light: #638251; $custom-dark: #000000;
JSON
{
"hex": "#21510c",
"rgb": {
"r": 33,
"g": 81,
"b": 12
},
"hsl": {
"h": 101.739,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38666,
"c": 0.11021,
"h": 138.3
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#21510C
secondary
#6F2C8C
accent
#37F1B8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78