#166221#166221
#166221 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.6% C 0.122 H 145.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #166221 |
|---|---|
| RGB | rgb(22, 98, 33) |
| HSL | hsl(129, 63%, 24%) |
| HSV | hsv(129, 78%, 38%) |
| CMYK | cmyk(77.6%, 0%, 66.3%, 61.6%) |
| CIE-LAB | lab(36.01, -37.19, 29.84) |
| CIE-LCH | lch(36.01, 47.68, 141.26°) |
| OKLab | oklab(43.61% -0.1004 0.0698) |
| OKLCH | oklch(43.61% 0.122 145.2) |
| XYZ | xyz(4.9727, 9.0152, 2.9166) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.42
Darkgreen
#006400
ΔE00 4.35
Forest Green
#2D5A27
ΔE00 4.45
Forest
#0B5509
ΔE00 4.67
Pine
#2B5D34
ΔE00 5.63
Spruce
#0A5F38
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166221 #621657
analogous
#316216 #166221 #166247
triadic
#166221 #211662 #622116
tetradic
#166221 #163162 #621657 #624716
square
#166221 #163162 #621657 #624716
split-complementary
#166221 #471662 #621631
monochromatic
#061908 #0B3010 #166221 #219432 #2CC643
Accessibility & contrast
On white
7.49
#166221 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#166221 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166221
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166221 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166221 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64581A
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166221; /* rgb */ color: rgb(22, 98, 33); /* oklch */ color: oklch(43.6% 0.122 145.2);
Tailwind
colors: {
custom: {
50: '#618f5f',
500: '#166221',
950: '#000000',
},
}SCSS
$custom: #166221; $custom-light: #618f5f; $custom-dark: #000000;
JSON
{
"hex": "#166221",
"rgb": {
"r": 22,
"g": 98,
"b": 33
},
"hsl": {
"h": 128.684,
"s": 63.333,
"l": 23.529
},
"oklch": {
"l": 0.43607,
"c": 0.12229,
"h": 145.2
},
"luminance": 0.09016
}Semantic roles & 50–950 ramp
primary
#166221
secondary
#993B8B
accent
#41CEE6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79