#21542E#21542E
#21542E is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.084 H 149.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #21542E |
|---|---|
| RGB | rgb(33, 84, 46) |
| HSL | hsl(135, 44%, 23%) |
| HSV | hsv(135, 61%, 33%) |
| CMYK | cmyk(60.7%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.49, -26.66, 17.20) |
| CIE-LCH | lch(31.49, 31.73, 147.18°) |
| OKLab | oklab(40.03% -0.0722 0.0425) |
| OKLCH | oklch(40.03% 0.084 149.5) |
| XYZ | xyz(4.2904, 6.8609, 3.6824) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.05
Hunter Green
#355E3B
ΔE00 4.20
Forest Green
#2D5A27
ΔE00 4.28
Pine Green
#0A481E
ΔE00 4.37
Spruce
#0A5F38
ΔE00 4.51
Evergreen
#05472A
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21542E #542147
analogous
#2D5421 #21542E #215447
triadic
#21542E #2E2154 #542E21
tetradic
#21542E #212D54 #542147 #544721
square
#21542E #212D54 #542147 #544721
split-complementary
#21542E #472154 #54212D
monochromatic
#09160C #102816 #21542E #328046 #44AC5E
Accessibility & contrast
On white
8.85
#21542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#21542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21542E
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21542E | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#15524B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #21542e; /* rgb */ color: rgb(33, 84, 46); /* oklch */ color: oklch(40.0% 0.084 149.5);
Tailwind
colors: {
custom: {
50: '#628467',
500: '#21542e',
950: '#000000',
},
}SCSS
$custom: #21542e; $custom-light: #628467; $custom-dark: #000000;
JSON
{
"hex": "#21542e",
"rgb": {
"r": 33,
"g": 84,
"b": 46
},
"hsl": {
"h": 135.294,
"s": 43.59,
"l": 22.941
},
"oklch": {
"l": 0.40025,
"c": 0.0838,
"h": 149.5
},
"luminance": 0.06861
}Semantic roles & 50–950 ramp
primary
#21542E
secondary
#884978
accent
#54B3D3
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A