#166F1F#166F1F
#166F1F is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.141 H 144.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #166F1F |
|---|---|
| RGB | rgb(22, 111, 31) |
| HSL | hsl(126, 67%, 26%) |
| HSV | hsv(126, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(40.63, -42.17, 35.85) |
| CIE-LCH | lch(40.63, 55.35, 139.63°) |
| OKLab | oklab(47.44% -0.114 0.0823) |
| OKLCH | oklch(47.44% 0.141 144.2) |
| XYZ | xyz(6.2622, 11.6376, 3.2123) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.38
Darkish Green
#287C37
ΔE00 5.25
Tree Green
#2A7E19
ΔE00 5.97
Green
#008000
ΔE00 6.93
Deep Green
#02590F
ΔE00 7.14
Jungle Green
#048243
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F1F #6F1666
analogous
#396F16 #166F1F #166F4B
triadic
#166F1F #1F166F #6F1F16
tetradic
#166F1F #16396F #6F1666 #6F4B16
square
#166F1F #16396F #6F1666 #6F4B16
split-complementary
#166F1F #4B166F #6F1639
monochromatic
#051A07 #0C3C11 #166F1F #20A22D #2BD53C
Accessibility & contrast
On white
6.31
#166F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#166F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F1F
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F1F | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716413
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f1f; /* rgb */ color: rgb(22, 111, 31); /* oklch */ color: oklch(47.4% 0.141 144.2);
Tailwind
colors: {
custom: {
50: '#64995f',
500: '#166f1f',
950: '#000000',
},
}SCSS
$custom: #166f1f; $custom-light: #64995f; $custom-dark: #000000;
JSON
{
"hex": "#166f1f",
"rgb": {
"r": 22,
"g": 111,
"b": 31
},
"hsl": {
"h": 126.067,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47435,
"c": 0.14062,
"h": 144.2
},
"luminance": 0.11638
}Semantic roles & 50–950 ramp
primary
#166F1F
secondary
#A53C9A
accent
#3ED8EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79