#166F18#166F18
#166F18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.145 H 143.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #166F18 |
|---|---|
| RGB | rgb(22, 111, 24) |
| HSL | hsl(121, 67%, 26%) |
| HSV | hsv(121, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(40.58, -42.83, 38.67) |
| CIE-LCH | lch(40.58, 57.70, 137.92°) |
| OKLab | oklab(47.37% -0.1161 0.0873) |
| OKLCH | oklch(47.37% 0.145 143.1) |
| XYZ | xyz(6.1798, 11.6047, 2.7782) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.93
Tree Green
#2A7E19
ΔE00 5.60
Darkish Green
#287C37
ΔE00 5.79
Green
#008000
ΔE00 6.41
Deep Green
#02590F
ΔE00 7.24
Dark Grass Green
#388004
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F18 #6F166D
analogous
#406F16 #166F18 #166F44
triadic
#166F18 #18166F #6F1816
tetradic
#166F18 #16406F #6F166D #6F4416
square
#166F18 #16406F #6F166D #6F4416
split-complementary
#166F18 #44166F #6F1640
monochromatic
#051A06 #0C3C0D #166F18 #20A223 #2BD52E
Accessibility & contrast
On white
6.32
#166F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#166F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F18
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F18 | 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)
#716406
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f18; /* rgb */ color: rgb(22, 111, 24); /* oklch */ color: oklch(47.4% 0.145 143.1);
Tailwind
colors: {
custom: {
50: '#65995b',
500: '#166f18',
950: '#000000',
},
}SCSS
$custom: #166f18; $custom-light: #65995b; $custom-dark: #000000;
JSON
{
"hex": "#166f18",
"rgb": {
"r": 22,
"g": 111,
"b": 24
},
"hsl": {
"h": 121.348,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47374,
"c": 0.14528,
"h": 143.1
},
"luminance": 0.11605
}Semantic roles & 50–950 ramp
primary
#166F18
secondary
#A53CA3
accent
#3EE6EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79