#166D1C#166D1C
#166D1C is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.140 H 143.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #166D1C |
|---|---|
| RGB | rgb(22, 109, 28) |
| HSL | hsl(124, 66%, 26%) |
| HSV | hsv(124, 80%, 43%) |
| CMYK | cmyk(79.8%, 0%, 74.3%, 57.3%) |
| CIE-LAB | lab(39.90, -41.77, 36.37) |
| CIE-LCH | lch(39.90, 55.38, 138.95°) |
| OKLab | oklab(46.82% -0.1131 0.083) |
| OKLCH | oklch(46.82% 0.14 143.7) |
| XYZ | xyz(6.0087, 11.1910, 2.9418) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.70
Darkish Green
#287C37
ΔE00 5.94
Tree Green
#2A7E19
ΔE00 6.45
Deep Green
#02590F
ΔE00 6.50
Green
#008000
ΔE00 7.35
Forest
#0B5509
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166D1C #6D1667
analogous
#3B6D16 #166D1C #166D47
triadic
#166D1C #1C166D #6D1C16
tetradic
#166D1C #163B6D #6D1667 #6D4716
square
#166D1C #163B6D #6D1667 #6D4716
split-complementary
#166D1C #47166D #6D163B
monochromatic
#051907 #0C3A0F #166D1C #20A029 #2BD336
Accessibility & contrast
On white
6.48
#166D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#166D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166D1C
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166D1C | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F620F
Deuteranopia (green-blind)
#665B24
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #166d1c; /* rgb */ color: rgb(22, 109, 28); /* oklch */ color: oklch(46.8% 0.140 143.7);
Tailwind
colors: {
custom: {
50: '#64985d',
500: '#166d1c',
950: '#000000',
},
}SCSS
$custom: #166d1c; $custom-light: #64985d; $custom-dark: #000000;
JSON
{
"hex": "#166d1c",
"rgb": {
"r": 22,
"g": 109,
"b": 28
},
"hsl": {
"h": 124.138,
"s": 66.412,
"l": 25.686
},
"oklch": {
"l": 0.46817,
"c": 0.14026,
"h": 143.7
},
"luminance": 0.11192
}Semantic roles & 50–950 ramp
primary
#166D1C
secondary
#A33C9C
accent
#3EDEE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79