#21641F#21641F
#21641F is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.122 H 142.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #21641F |
|---|---|
| RGB | rgb(33, 100, 31) |
| HSL | hsl(118, 53%, 26%) |
| HSV | hsv(118, 69%, 39%) |
| CMYK | cmyk(67%, 0%, 69%, 60.8%) |
| CIE-LAB | lab(37.00, -35.85, 31.99) |
| CIE-LCH | lch(37.00, 48.04, 138.26°) |
| OKLab | oklab(44.5% -0.0975 0.0741) |
| OKLCH | oklch(44.5% 0.122 142.8) |
| XYZ | xyz(5.4314, 9.5361, 2.8505) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.76
Deep Green
#02590F
ΔE00 4.04
Forest Green
#2D5A27
ΔE00 4.71
Forest
#0B5509
ΔE00 5.08
Pine
#2B5D34
ΔE00 6.29
Spruce
#0A5F38
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21641F #621F64
analogous
#43641F #21641F #1F643F
triadic
#21641F #1F2164 #641F21
tetradic
#21641F #1F4364 #621F64 #643F1F
square
#21641F #1F4364 #621F64 #643F1F
split-complementary
#21641F #3F1F64 #641F43
monochromatic
#081707 #123511 #21641F #30932D #40C13C
Accessibility & contrast
On white
7.22
#21641F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#21641F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21641F
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21641F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21641F | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A16
Deuteranopia (green-blind)
#5E5525
Tritanopia (blue-blind)
#146156
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #21641f; /* rgb */ color: rgb(33, 100, 31); /* oklch */ color: oklch(44.5% 0.122 142.8);
Tailwind
colors: {
custom: {
50: '#66915e',
500: '#21641f',
950: '#000000',
},
}SCSS
$custom: #21641f; $custom-light: #66915e; $custom-dark: #000000;
JSON
{
"hex": "#21641f",
"rgb": {
"r": 33,
"g": 100,
"b": 31
},
"hsl": {
"h": 118.261,
"s": 52.672,
"l": 25.686
},
"oklch": {
"l": 0.44496,
"c": 0.12244,
"h": 142.8
},
"luminance": 0.09537
}Semantic roles & 50–950 ramp
primary
#21641F
secondary
#964698
accent
#4CDCD8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79