#21642E#21642E
#21642E is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.109 H 147.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #21642E |
|---|---|
| RGB | rgb(33, 100, 46) |
| HSL | hsl(132, 50%, 26%) |
| HSV | hsv(132, 67%, 39%) |
| CMYK | cmyk(67%, 0%, 54%, 60.8%) |
| CIE-LAB | lab(37.18, -33.77, 24.41) |
| CIE-LCH | lch(37.18, 41.67, 144.14°) |
| OKLab | oklab(44.71% -0.0912 0.059) |
| OKLCH | oklch(44.71% 0.109 147.1) |
| XYZ | xyz(5.6771, 9.6344, 4.1447) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.81
Forest Green
#2D5A27
ΔE00 4.05
Spruce
#0A5F38
ΔE00 4.68
Deep Green
#02590F
ΔE00 5.54
Hunter Green
#355E3B
ΔE00 5.58
Forest
#0B5509
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21642E #642157
analogous
#356421 #21642E #21644F
triadic
#21642E #2E2164 #642E21
tetradic
#21642E #213564 #642157 #644F21
square
#21642E #213564 #642157 #644F21
split-complementary
#21642E #4F2164 #642135
monochromatic
#08170B #123619 #21642E #309243 #40C058
Accessibility & contrast
On white
7.17
#21642E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#21642E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21642E
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21642E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21642E | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655B29
Deuteranopia (green-blind)
#5D5532
Tritanopia (blue-blind)
#0E6258
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #21642e; /* rgb */ color: rgb(33, 100, 46); /* oklch */ color: oklch(44.7% 0.109 147.1);
Tailwind
colors: {
custom: {
50: '#659168',
500: '#21642e',
950: '#000000',
},
}SCSS
$custom: #21642e; $custom-light: #659168; $custom-dark: #000000;
JSON
{
"hex": "#21642e",
"rgb": {
"r": 33,
"g": 100,
"b": 46
},
"hsl": {
"h": 131.642,
"s": 50.376,
"l": 26.078
},
"oklch": {
"l": 0.44705,
"c": 0.10862,
"h": 147.1
},
"luminance": 0.09635
}Semantic roles & 50–950 ramp
primary
#21642E
secondary
#984989
accent
#4EBFDA
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060D06
muted
#7A7D7A