#21661E#21661E
#21661E is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.126 H 142.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #21661E |
|---|---|
| RGB | rgb(33, 102, 30) |
| HSL | hsl(118, 55%, 26%) |
| HSV | hsv(118, 71%, 40%) |
| CMYK | cmyk(67.6%, 0%, 70.6%, 60%) |
| CIE-LAB | lab(37.70, -36.75, 33.22) |
| CIE-LCH | lch(37.70, 49.54, 137.89°) |
| OKLab | oklab(45.07% -0.1 0.0766) |
| OKLCH | oklch(45.07% 0.126 142.5) |
| XYZ | xyz(5.6126, 9.9193, 2.8469) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.45
Deep Green
#02590F
ΔE00 4.55
Forest Green
#2D5A27
ΔE00 5.42
Forest
#0B5509
ΔE00 5.61
Pine
#2B5D34
ΔE00 6.91
Darkish Green
#287C37
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21661E #631E66
analogous
#45661E #21661E #1E663F
triadic
#21661E #1E2166 #661E21
tetradic
#21661E #1E4566 #631E66 #663F1E
square
#21661E #1E4566 #631E66 #663F1E
split-complementary
#21661E #3F1E66 #661E45
monochromatic
#081807 #123710 #21661E #30952C #40C53A
Accessibility & contrast
On white
7.04
#21661E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#21661E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21661E
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21661E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21661E | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C14
Deuteranopia (green-blind)
#605725
Tritanopia (blue-blind)
#136357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #21661e; /* rgb */ color: rgb(33, 102, 30); /* oklch */ color: oklch(45.1% 0.126 142.5);
Tailwind
colors: {
custom: {
50: '#66925e',
500: '#21661e',
950: '#000000',
},
}SCSS
$custom: #21661e; $custom-light: #66925e; $custom-dark: #000000;
JSON
{
"hex": "#21661e",
"rgb": {
"r": 33,
"g": 102,
"b": 30
},
"hsl": {
"h": 117.5,
"s": 54.545,
"l": 25.882
},
"oklch": {
"l": 0.45072,
"c": 0.12593,
"h": 142.5
},
"luminance": 0.0992
}Semantic roles & 50–950 ramp
primary
#21661E
secondary
#97459B
accent
#4ADED8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79