#21540E#21540E
#21540E is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.113 H 138.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #21540E |
|---|---|
| RGB | rgb(33, 84, 14) |
| HSL | hsl(104, 71%, 19%) |
| HSV | hsv(104, 83%, 33%) |
| CMYK | cmyk(60.7%, 0%, 83.3%, 67.1%) |
| CIE-LAB | lab(31.10, -30.92, 33.23) |
| CIE-LCH | lch(31.10, 45.39, 132.94°) |
| OKLab | oklab(39.58% -0.0852 0.0743) |
| OKLCH | oklch(39.58% 0.113 138.9) |
| XYZ | xyz(3.8766, 6.6954, 1.5034) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.25
Deep Green
#02590F
ΔE00 3.30
Bottle Green
#044A05
ΔE00 3.88
Darkgreen (survey)
#054907
ΔE00 4.16
Navy Green
#35530A
ΔE00 4.24
Forest Green
#2D5A27
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21540E #410E54
analogous
#44540E #21540E #0E541E
triadic
#21540E #0E2154 #540E21
tetradic
#21540E #0E4454 #410E54 #541E0E
square
#21540E #0E4454 #410E54 #541E0E
split-complementary
#21540E #1E0E54 #540E44
monochromatic
#0A1A04 #0C2005 #21540E #368817 #4ABD1F
Accessibility & contrast
On white
8.98
#21540E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#21540E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21540E
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21540E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21540E | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574C01
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#1C5147
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #21540e; /* rgb */ color: rgb(33, 84, 14); /* oklch */ color: oklch(39.6% 0.113 138.9);
Tailwind
colors: {
custom: {
50: '#638553',
500: '#21540e',
950: '#000000',
},
}SCSS
$custom: #21540e; $custom-light: #638553; $custom-dark: #000000;
JSON
{
"hex": "#21540e",
"rgb": {
"r": 33,
"g": 84,
"b": 14
},
"hsl": {
"h": 103.714,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.39583,
"c": 0.11306,
"h": 138.9
},
"luminance": 0.06696
}Semantic roles & 50–950 ramp
primary
#21540E
secondary
#752F8E
accent
#3AEEBD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78