#166F1B#166F1B
#166F1B is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.143 H 143.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #166F1B |
|---|---|
| RGB | rgb(22, 111, 27) |
| HSL | hsl(123, 67%, 26%) |
| HSV | hsv(123, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 75.7%, 56.5%) |
| CIE-LAB | lab(40.60, -42.56, 37.51) |
| CIE-LCH | lch(40.60, 56.73, 138.61°) |
| OKLab | oklab(47.4% -0.1153 0.0853) |
| OKLCH | oklch(47.4% 0.143 143.5) |
| XYZ | xyz(6.2127, 11.6179, 2.9517) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.09
Darkish Green
#287C37
ΔE00 5.55
Tree Green
#2A7E19
ΔE00 5.73
Green
#008000
ΔE00 6.61
Deep Green
#02590F
ΔE00 7.18
Dark Grass Green
#388004
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F1B #6F166A
analogous
#3D6F16 #166F1B #166F47
triadic
#166F1B #1B166F #6F1B16
tetradic
#166F1B #163D6F #6F166A #6F4716
square
#166F1B #163D6F #6F166A #6F4716
split-complementary
#166F1B #47166F #6F163D
monochromatic
#051A06 #0C3C0F #166F1B #20A227 #2BD534
Accessibility & contrast
On white
6.32
#166F1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#166F1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F1B
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F1B | 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)
#71640D
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f1b; /* rgb */ color: rgb(22, 111, 27); /* oklch */ color: oklch(47.4% 0.143 143.5);
Tailwind
colors: {
custom: {
50: '#65995d',
500: '#166f1b',
950: '#000000',
},
}SCSS
$custom: #166f1b; $custom-light: #65995d; $custom-dark: #000000;
JSON
{
"hex": "#166f1b",
"rgb": {
"r": 22,
"g": 111,
"b": 27
},
"hsl": {
"h": 123.371,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47398,
"c": 0.14339,
"h": 143.5
},
"luminance": 0.11619
}Semantic roles & 50–950 ramp
primary
#166F1B
secondary
#A53C9F
accent
#3EE0EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79