#166F1C#166F1C
#166F1C is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.143 H 143.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #166F1C |
|---|---|
| RGB | rgb(22, 111, 28) |
| HSL | hsl(124, 67%, 26%) |
| HSV | hsv(124, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 74.8%, 56.5%) |
| CIE-LAB | lab(40.61, -42.47, 37.10) |
| CIE-LCH | lch(40.61, 56.40, 138.86°) |
| OKLab | oklab(47.41% -0.115 0.0845) |
| OKLCH | oklch(47.41% 0.143 143.7) |
| XYZ | xyz(6.2245, 11.6226, 3.0137) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.16
Darkish Green
#287C37
ΔE00 5.48
Tree Green
#2A7E19
ΔE00 5.78
Green
#008000
ΔE00 6.68
Deep Green
#02590F
ΔE00 7.17
Dark Grass Green
#388004
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F1C #6F1669
analogous
#3C6F16 #166F1C #166F48
triadic
#166F1C #1C166F #6F1C16
tetradic
#166F1C #163C6F #6F1669 #6F4816
square
#166F1C #163C6F #6F1669 #6F4816
split-complementary
#166F1C #48166F #6F163C
monochromatic
#051A06 #0C3C0F #166F1C #20A229 #2BD536
Accessibility & contrast
On white
6.32
#166F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#166F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F1C
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F1C | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71640E
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f1c; /* rgb */ color: rgb(22, 111, 28); /* oklch */ color: oklch(47.4% 0.143 143.7);
Tailwind
colors: {
custom: {
50: '#65995e',
500: '#166f1c',
950: '#000000',
},
}SCSS
$custom: #166f1c; $custom-light: #65995e; $custom-dark: #000000;
JSON
{
"hex": "#166f1c",
"rgb": {
"r": 22,
"g": 111,
"b": 28
},
"hsl": {
"h": 124.045,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47407,
"c": 0.14271,
"h": 143.7
},
"luminance": 0.11623
}Semantic roles & 50–950 ramp
primary
#166F1C
secondary
#A53C9E
accent
#3EDEEA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79