#166A1B#166A1B
#166A1B is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.137 H 143.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #166A1B |
|---|---|
| RGB | rgb(22, 106, 27) |
| HSL | hsl(124, 66%, 25%) |
| HSV | hsv(124, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 74.5%, 58.4%) |
| CIE-LAB | lab(38.82, -40.80, 35.67) |
| CIE-LCH | lch(38.82, 54.19, 138.84°) |
| OKLab | oklab(45.92% -0.1105 0.0814) |
| OKLCH | oklch(45.92% 0.137 143.6) |
| XYZ | xyz(5.6824, 10.5571, 2.7750) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.09
Deep Green
#02590F
ΔE00 5.52
Forest
#0B5509
ΔE00 6.72
Darkish Green
#287C37
ΔE00 6.75
Forest Green
#2D5A27
ΔE00 7.11
Tree Green
#2A7E19
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A1B #6A1665
analogous
#3B6A16 #166A1B #166A45
triadic
#166A1B #1B166A #6A1B16
tetradic
#166A1B #163B6A #6A1665 #6A4516
square
#166A1B #163B6A #6A1665 #6A4516
split-complementary
#166A1B #45166A #6A163B
monochromatic
#051906 #0B370E #166A1B #219D28 #2BCF35
Accessibility & contrast
On white
6.75
#166A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#166A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A1B
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A1B | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F0E
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166a1b; /* rgb */ color: rgb(22, 106, 27); /* oklch */ color: oklch(45.9% 0.137 143.6);
Tailwind
colors: {
custom: {
50: '#63965c',
500: '#166a1b',
950: '#000000',
},
}SCSS
$custom: #166a1b; $custom-light: #63965c; $custom-dark: #000000;
JSON
{
"hex": "#166a1b",
"rgb": {
"r": 22,
"g": 106,
"b": 27
},
"hsl": {
"h": 123.571,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.45921,
"c": 0.13725,
"h": 143.6
},
"luminance": 0.10558
}Semantic roles & 50–950 ramp
primary
#166A1B
secondary
#A03B9A
accent
#3FDEE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79