#166C28#166C28
#166C28 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.130 H 146.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #166C28 |
|---|---|
| RGB | rgb(22, 108, 40) |
| HSL | hsl(133, 66%, 25%) |
| HSV | hsv(133, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 63%, 57.6%) |
| CIE-LAB | lab(39.66, -40.00, 30.50) |
| CIE-LCH | lch(39.66, 50.30, 142.67°) |
| OKLab | oklab(46.66% -0.1077 0.0719) |
| OKLCH | oklch(46.66% 0.13 146.3) |
| XYZ | xyz(6.0760, 11.0482, 3.8194) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.09
Darkish Green
#287C37
ΔE00 5.65
Deep Green
#02590F
ΔE00 6.39
Forest Green
#2D5A27
ΔE00 6.97
Pine
#2B5D34
ΔE00 7.32
Spruce
#0A5F38
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C28 #6C165A
analogous
#2F6C16 #166C28 #166C53
triadic
#166C28 #28166C #6C2816
tetradic
#166C28 #162F6C #6C165A #6C5316
square
#166C28 #162F6C #6C165A #6C5316
split-complementary
#166C28 #53166C #6C162F
monochromatic
#051909 #0C3915 #166C28 #209F3B #2BD24E
Accessibility & contrast
On white
6.54
#166C28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#166C28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C28
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C28 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6221
Deuteranopia (green-blind)
#645B2E
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c28; /* rgb */ color: rgb(22, 108, 40); /* oklch */ color: oklch(46.7% 0.130 146.3);
Tailwind
colors: {
custom: {
50: '#639764',
500: '#166c28',
950: '#000000',
},
}SCSS
$custom: #166c28; $custom-light: #639764; $custom-dark: #000000;
JSON
{
"hex": "#166c28",
"rgb": {
"r": 22,
"g": 108,
"b": 40
},
"hsl": {
"h": 132.558,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46657,
"c": 0.12954,
"h": 146.3
},
"luminance": 0.11049
}Semantic roles & 50–950 ramp
primary
#166C28
secondary
#A23C8D
accent
#3FC5E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A