#21671E#21671E
#21671E is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.127 H 142.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #21671E |
|---|---|
| RGB | rgb(33, 103, 30) |
| HSL | hsl(118, 55%, 26%) |
| HSV | hsv(118, 71%, 40%) |
| CMYK | cmyk(68%, 0%, 70.9%, 59.6%) |
| CIE-LAB | lab(38.05, -37.14, 33.60) |
| CIE-LCH | lch(38.05, 50.08, 137.86°) |
| OKLab | oklab(45.37% -0.101 0.0774) |
| OKLCH | oklch(45.37% 0.127 142.5) |
| XYZ | xyz(5.7115, 10.1170, 2.8798) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.42
Deep Green
#02590F
ΔE00 4.83
Forest Green
#2D5A27
ΔE00 5.73
Forest
#0B5509
ΔE00 5.91
Pine
#2B5D34
ΔE00 7.16
Darkish Green
#287C37
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21671E #641E67
analogous
#45671E #21671E #1E673F
triadic
#21671E #1E2167 #671E21
tetradic
#21671E #1E4567 #641E67 #673F1E
square
#21671E #1E4567 #641E67 #673F1E
split-complementary
#21671E #3F1E67 #671E45
monochromatic
#081807 #123810 #21671E #30962C #40C63A
Accessibility & contrast
On white
6.95
#21671E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#21671E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21671E
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21671E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21671E | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D14
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#136458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #21671e; /* rgb */ color: rgb(33, 103, 30); /* oklch */ color: oklch(45.4% 0.127 142.5);
Tailwind
colors: {
custom: {
50: '#66935e',
500: '#21671e',
950: '#000000',
},
}SCSS
$custom: #21671e; $custom-light: #66935e; $custom-dark: #000000;
JSON
{
"hex": "#21671e",
"rgb": {
"r": 33,
"g": 103,
"b": 30
},
"hsl": {
"h": 117.534,
"s": 54.887,
"l": 26.078
},
"oklch": {
"l": 0.45366,
"c": 0.12726,
"h": 142.5
},
"luminance": 0.10118
}Semantic roles & 50–950 ramp
primary
#21671E
secondary
#98459C
accent
#4ADED8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79