#166C18#166C18
#166C18 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.142 H 143.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #166C18 |
|---|---|
| RGB | rgb(22, 108, 24) |
| HSL | hsl(121, 66%, 25%) |
| HSV | hsv(121, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 77.8%, 57.6%) |
| CIE-LAB | lab(39.51, -41.79, 37.60) |
| CIE-LCH | lch(39.51, 56.21, 138.02°) |
| OKLab | oklab(46.49% -0.1133 0.085) |
| OKLCH | oklch(46.49% 0.142 143.1) |
| XYZ | xyz(5.8579, 10.9610, 2.6709) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.18
Deep Green
#02590F
ΔE00 6.23
Darkish Green
#287C37
ΔE00 6.45
Tree Green
#2A7E19
ΔE00 6.59
Forest
#0B5509
ΔE00 7.38
Green
#008000
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C18 #6C166A
analogous
#3F6C16 #166C18 #166C43
triadic
#166C18 #18166C #6C1816
tetradic
#166C18 #163F6C #6C166A #6C4316
square
#166C18 #163F6C #6C166A #6C4316
split-complementary
#166C18 #43166C #6C163F
monochromatic
#051906 #0C390D #166C18 #209F23 #2BD22F
Accessibility & contrast
On white
6.58
#166C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#166C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C18
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C18 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c18; /* rgb */ color: rgb(22, 108, 24); /* oklch */ color: oklch(46.5% 0.142 143.1);
Tailwind
colors: {
custom: {
50: '#64975b',
500: '#166c18',
950: '#000000',
},
}SCSS
$custom: #166c18; $custom-light: #64975b; $custom-dark: #000000;
JSON
{
"hex": "#166c18",
"rgb": {
"r": 22,
"g": 108,
"b": 24
},
"hsl": {
"h": 121.395,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46487,
"c": 0.14167,
"h": 143.1
},
"luminance": 0.10962
}Semantic roles & 50–950 ramp
primary
#166C18
secondary
#A23CA0
accent
#3FE5E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79