#166822#166822
#166822 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.129 H 145.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #166822 |
|---|---|
| RGB | rgb(22, 104, 34) |
| HSL | hsl(129, 65%, 25%) |
| HSV | hsv(129, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 67.3%, 59.2%) |
| CIE-LAB | lab(38.17, -39.30, 31.78) |
| CIE-LCH | lch(38.17, 50.54, 141.05°) |
| OKLab | oklab(45.4% -0.1061 0.0741) |
| OKLCH | oklch(45.4% 0.129 145.1) |
| XYZ | xyz(5.5695, 10.1861, 3.1856) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.96
Deep Green
#02590F
ΔE00 4.98
Forest Green
#2D5A27
ΔE00 6.05
Forest
#0B5509
ΔE00 6.28
Pine
#2B5D34
ΔE00 6.93
Darkish Green
#287C37
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166822 #68165C
analogous
#336816 #166822 #16684B
triadic
#166822 #221668 #682216
tetradic
#166822 #163368 #68165C #684B16
square
#166822 #163368 #68165C #684B16
split-complementary
#166822 #4B1668 #681633
monochromatic
#051908 #0B3511 #166822 #219B33 #2BCD43
Accessibility & contrast
On white
6.91
#166822 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#166822 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166822
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166822 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166822 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#615728
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166822; /* rgb */ color: rgb(22, 104, 34); /* oklch */ color: oklch(45.4% 0.129 145.1);
Tailwind
colors: {
custom: {
50: '#629460',
500: '#166822',
950: '#000000',
},
}SCSS
$custom: #166822; $custom-light: #629460; $custom-dark: #000000;
JSON
{
"hex": "#166822",
"rgb": {
"r": 22,
"g": 104,
"b": 34
},
"hsl": {
"h": 128.78,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45402,
"c": 0.12939,
"h": 145.1
},
"luminance": 0.10187
}Semantic roles & 50–950 ramp
primary
#166822
secondary
#9F3B90
accent
#40CFE8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79