#166722#166722
#166722 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.128 H 145.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #166722 |
|---|---|
| RGB | rgb(22, 103, 34) |
| HSL | hsl(129, 65%, 25%) |
| HSV | hsv(129, 79%, 40%) |
| CMYK | cmyk(78.6%, 0%, 67%, 59.6%) |
| CIE-LAB | lab(37.82, -38.93, 31.38) |
| CIE-LCH | lch(37.82, 50.00, 141.14°) |
| OKLab | oklab(45.11% -0.1051 0.0732) |
| OKLCH | oklch(45.11% 0.128 145.1) |
| XYZ | xyz(5.4695, 9.9859, 3.1523) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.98
Deep Green
#02590F
ΔE00 4.70
Forest Green
#2D5A27
ΔE00 5.76
Forest
#0B5509
ΔE00 6.00
Pine
#2B5D34
ΔE00 6.67
Spruce
#0A5F38
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166722 #67165B
analogous
#336716 #166722 #16674B
triadic
#166722 #221667 #672216
tetradic
#166722 #163367 #67165B #674B16
square
#166722 #163367 #67165B #674B16
split-complementary
#166722 #4B1667 #671633
monochromatic
#051908 #0B3511 #166722 #219933 #2CCC43
Accessibility & contrast
On white
7.01
#166722 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#166722 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166722
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166722 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166722 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D1A
Deuteranopia (green-blind)
#605728
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166722; /* rgb */ color: rgb(22, 103, 34); /* oklch */ color: oklch(45.1% 0.128 145.1);
Tailwind
colors: {
custom: {
50: '#629360',
500: '#166722',
950: '#000000',
},
}SCSS
$custom: #166722; $custom-light: #629360; $custom-dark: #000000;
JSON
{
"hex": "#166722",
"rgb": {
"r": 22,
"g": 103,
"b": 34
},
"hsl": {
"h": 128.889,
"s": 64.8,
"l": 24.51
},
"oklch": {
"l": 0.45106,
"c": 0.12808,
"h": 145.1
},
"luminance": 0.09987
}Semantic roles & 50–950 ramp
primary
#166722
secondary
#9E3B8F
accent
#40CFE8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79