#166B1B#166B1B
#166B1B is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.2% C 0.138 H 143.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #166B1B |
|---|---|
| RGB | rgb(22, 107, 27) |
| HSL | hsl(124, 66%, 25%) |
| HSV | hsv(124, 79%, 42%) |
| CMYK | cmyk(79.4%, 0%, 74.8%, 58%) |
| CIE-LAB | lab(39.18, -41.16, 36.04) |
| CIE-LCH | lch(39.18, 54.71, 138.79°) |
| OKLab | oklab(46.22% -0.1115 0.0822) |
| OKLCH | oklch(46.22% 0.138 143.6) |
| XYZ | xyz(5.7860, 10.7644, 2.8095) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.24
Deep Green
#02590F
ΔE00 5.85
Darkish Green
#287C37
ΔE00 6.50
Forest
#0B5509
ΔE00 7.04
Tree Green
#2A7E19
ΔE00 7.06
Forest Green
#2D5A27
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166B1B #6B1666
analogous
#3C6B16 #166B1B #166B45
triadic
#166B1B #1B166B #6B1B16
tetradic
#166B1B #163C6B #6B1666 #6B4516
square
#166B1B #163C6B #6B1666 #6B4516
split-complementary
#166B1B #45166B #6B163C
monochromatic
#051906 #0C380E #166B1B #209E28 #2BD135
Accessibility & contrast
On white
6.66
#166B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#166B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166B1B
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166B1B | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#00685B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #166b1b; /* rgb */ color: rgb(22, 107, 27); /* oklch */ color: oklch(46.2% 0.138 143.6);
Tailwind
colors: {
custom: {
50: '#64965c',
500: '#166b1b',
950: '#000000',
},
}SCSS
$custom: #166b1b; $custom-light: #64965c; $custom-dark: #000000;
JSON
{
"hex": "#166b1b",
"rgb": {
"r": 22,
"g": 107,
"b": 27
},
"hsl": {
"h": 123.529,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.46217,
"c": 0.13849,
"h": 143.6
},
"luminance": 0.10765
}Semantic roles & 50–950 ramp
primary
#166B1B
secondary
#A13B9B
accent
#3FDFE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79