#166C27#166C27
#166C27 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.130 H 146.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #166C27 |
|---|---|
| RGB | rgb(22, 108, 39) |
| HSL | hsl(132, 66%, 25%) |
| HSV | hsv(132, 80%, 42%) |
| CMYK | cmyk(79.6%, 0%, 63.9%, 57.6%) |
| CIE-LAB | lab(39.65, -40.13, 30.99) |
| CIE-LCH | lch(39.65, 50.70, 142.33°) |
| OKLab | oklab(46.64% -0.1081 0.0729) |
| OKLCH | oklch(46.64% 0.13 146) |
| XYZ | xyz(6.0592, 11.0415, 3.7309) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.92
Darkish Green
#287C37
ΔE00 5.67
Deep Green
#02590F
ΔE00 6.34
Forest Green
#2D5A27
ΔE00 7.01
Pine
#2B5D34
ΔE00 7.44
Forest
#0B5509
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166C27 #6C165B
analogous
#306C16 #166C27 #166C52
triadic
#166C27 #27166C #6C2716
tetradic
#166C27 #16306C #6C165B #6C5216
square
#166C27 #16306C #6C165B #6C5216
split-complementary
#166C27 #52166C #6C1630
monochromatic
#051909 #0C3915 #166C27 #209F39 #2BD24C
Accessibility & contrast
On white
6.55
#166C27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#166C27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166C27
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166C27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166C27 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6220
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #166c27; /* rgb */ color: rgb(22, 108, 39); /* oklch */ color: oklch(46.6% 0.130 146.0);
Tailwind
colors: {
custom: {
50: '#639764',
500: '#166c27',
950: '#000000',
},
}SCSS
$custom: #166c27; $custom-light: #639764; $custom-dark: #000000;
JSON
{
"hex": "#166c27",
"rgb": {
"r": 22,
"g": 108,
"b": 39
},
"hsl": {
"h": 131.86,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.46644,
"c": 0.13041,
"h": 146
},
"luminance": 0.11042
}Semantic roles & 50–950 ramp
primary
#166C27
secondary
#A23C8E
accent
#3FC7E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A