#21540F#21540F
#21540F is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.112 H 139.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #21540F |
|---|---|
| RGB | rgb(33, 84, 15) |
| HSL | hsl(104, 70%, 19%) |
| HSV | hsv(104, 82%, 33%) |
| CMYK | cmyk(60.7%, 0%, 82.1%, 67.1%) |
| CIE-LAB | lab(31.11, -30.84, 32.86) |
| CIE-LCH | lch(31.11, 45.06, 133.19°) |
| OKLab | oklab(39.59% -0.085 0.0737) |
| OKLCH | oklch(39.59% 0.112 139.1) |
| XYZ | xyz(3.8836, 6.6981, 1.5401) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.25
Deep Green
#02590F
ΔE00 3.28
Bottle Green
#044A05
ΔE00 3.85
Darkgreen (survey)
#054907
ΔE00 4.12
Forest Green
#2D5A27
ΔE00 4.20
Navy Green
#35530A
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21540F #420F54
analogous
#44540F #21540F #0F5420
triadic
#21540F #0F2154 #540F21
tetradic
#21540F #0F4454 #420F54 #54200F
square
#21540F #0F4454 #420F54 #54200F
split-complementary
#21540F #200F54 #540F44
monochromatic
#0A1A05 #0D2006 #21540F #358818 #4ABC22
Accessibility & contrast
On white
8.98
#21540F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#21540F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21540F
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21540F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21540F | 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)
#574C02
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#1C5147
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #21540f; /* rgb */ color: rgb(33, 84, 15); /* oklch */ color: oklch(39.6% 0.112 139.1);
Tailwind
colors: {
custom: {
50: '#638553',
500: '#21540f',
950: '#000000',
},
}SCSS
$custom: #21540f; $custom-light: #638553; $custom-dark: #000000;
JSON
{
"hex": "#21540f",
"rgb": {
"r": 33,
"g": 84,
"b": 15
},
"hsl": {
"h": 104.348,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.39591,
"c": 0.11245,
"h": 139.1
},
"luminance": 0.06698
}Semantic roles & 50–950 ramp
primary
#21540F
secondary
#76318E
accent
#3BEDBE
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78