#166C1C#166C1C
#166C1C is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.139 H 143.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #166C1C |
|---|---|
| RGB | rgb(22, 108, 28) |
| HSL | hsl(124, 66%, 25%) |
| HSV | hsv(124, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 74.1%, 57.6%) |
| CIE-LAB | lab(39.54, -41.41, 36.00) |
| CIE-LCH | lch(39.54, 54.87, 139.00°) |
| OKLab | oklab(46.52% -0.1121 0.0822) |
| OKLCH | oklch(46.52% 0.139 143.7) |
| XYZ | xyz(5.9027, 10.9789, 2.9064) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.51
Deep Green
#02590F
ΔE00 6.17
Darkish Green
#287C37
ΔE00 6.19
Tree Green
#2A7E19
ΔE00 6.78
Forest
#0B5509
ΔE00 7.37
Forest Green
#2D5A27
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C1C #6C1666
analogous
#3B6C16 #166C1C #166C47
triadic
#166C1C #1C166C #6C1C16
tetradic
#166C1C #163B6C #6C1666 #6C4716
square
#166C1C #163B6C #6C1666 #6C4716
split-complementary
#166C1C #47166C #6C163B
monochromatic
#051907 #0C390F #166C1C #209F29 #2BD236
Accessibility & contrast
On white
6.57
#166C1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#166C1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C1C
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C1C | 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)
#6E610F
Deuteranopia (green-blind)
#655B24
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c1c; /* rgb */ color: rgb(22, 108, 28); /* oklch */ color: oklch(46.5% 0.139 143.7);
Tailwind
colors: {
custom: {
50: '#64975d',
500: '#166c1c',
950: '#000000',
},
}SCSS
$custom: #166c1c; $custom-light: #64975d; $custom-dark: #000000;
JSON
{
"hex": "#166c1c",
"rgb": {
"r": 22,
"g": 108,
"b": 28
},
"hsl": {
"h": 124.186,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46522,
"c": 0.13904,
"h": 143.7
},
"luminance": 0.1098
}Semantic roles & 50–950 ramp
primary
#166C1C
secondary
#A23C9B
accent
#3FDDE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79