#21661D#21661D
#21661D is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.127 H 142.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #21661D |
|---|---|
| RGB | rgb(33, 102, 29) |
| HSL | hsl(117, 56%, 26%) |
| HSV | hsv(117, 72%, 40%) |
| CMYK | cmyk(67.6%, 0%, 71.6%, 60%) |
| CIE-LAB | lab(37.69, -36.85, 33.67) |
| CIE-LCH | lch(37.69, 49.92, 137.59°) |
| OKLab | oklab(45.06% -0.1003 0.0774) |
| OKLCH | oklch(45.06% 0.127 142.3) |
| XYZ | xyz(5.6000, 9.9142, 2.7807) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.31
Deep Green
#02590F
ΔE00 4.54
Forest Green
#2D5A27
ΔE00 5.51
Forest
#0B5509
ΔE00 5.59
Pine
#2B5D34
ΔE00 7.06
Darkish Green
#287C37
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21661D #621D66
analogous
#45661D #21661D #1D663D
triadic
#21661D #1D2166 #661D21
tetradic
#21661D #1D4566 #621D66 #663D1D
square
#21661D #1D4566 #621D66 #663D1D
split-complementary
#21661D #3D1D66 #661D45
monochromatic
#081807 #12360F #21661D #30962B #40C538
Accessibility & contrast
On white
7.04
#21661D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#21661D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21661D
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21661D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21661D | 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)
#685C13
Deuteranopia (green-blind)
#605724
Tritanopia (blue-blind)
#136357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #21661d; /* rgb */ color: rgb(33, 102, 29); /* oklch */ color: oklch(45.1% 0.127 142.3);
Tailwind
colors: {
custom: {
50: '#66925d',
500: '#21661d',
950: '#000000',
},
}SCSS
$custom: #21661d; $custom-light: #66925d; $custom-dark: #000000;
JSON
{
"hex": "#21661d",
"rgb": {
"r": 33,
"g": 102,
"b": 29
},
"hsl": {
"h": 116.712,
"s": 55.725,
"l": 25.686
},
"oklch": {
"l": 0.45062,
"c": 0.12671,
"h": 142.3
},
"luminance": 0.09915
}Semantic roles & 50–950 ramp
primary
#21661D
secondary
#96449B
accent
#49DFD7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79