#166C1B#166C1B
#166C1B is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.140 H 143.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #166C1B |
|---|---|
| RGB | rgb(22, 108, 27) |
| HSL | hsl(123, 66%, 25%) |
| HSV | hsv(123, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 75%, 57.6%) |
| CIE-LAB | lab(39.54, -41.51, 36.41) |
| CIE-LCH | lch(39.54, 55.22, 138.75°) |
| OKLab | oklab(46.51% -0.1124 0.083) |
| OKLCH | oklch(46.51% 0.14 143.6) |
| XYZ | xyz(5.8909, 10.9741, 2.8445) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.42
Deep Green
#02590F
ΔE00 6.18
Darkish Green
#287C37
ΔE00 6.25
Tree Green
#2A7E19
ΔE00 6.73
Forest
#0B5509
ΔE00 7.37
Green
#008000
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C1B #6C1667
analogous
#3C6C16 #166C1B #166C46
triadic
#166C1B #1B166C #6C1B16
tetradic
#166C1B #163C6C #6C1667 #6C4616
square
#166C1B #163C6C #6C1667 #6C4616
split-complementary
#166C1B #46166C #6C163C
monochromatic
#051906 #0C390E #166C1B #209F28 #2BD234
Accessibility & contrast
On white
6.57
#166C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#166C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C1B
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C1B | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E610E
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c1b; /* rgb */ color: rgb(22, 108, 27); /* oklch */ color: oklch(46.5% 0.140 143.6);
Tailwind
colors: {
custom: {
50: '#64975d',
500: '#166c1b',
950: '#000000',
},
}SCSS
$custom: #166c1b; $custom-light: #64975d; $custom-dark: #000000;
JSON
{
"hex": "#166c1b",
"rgb": {
"r": 22,
"g": 108,
"b": 27
},
"hsl": {
"h": 123.488,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46513,
"c": 0.13972,
"h": 143.6
},
"luminance": 0.10975
}Semantic roles & 50–950 ramp
primary
#166C1B
secondary
#A23C9C
accent
#3FDFE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79