#166c49
a dark, vivid green · cool · closest name: seagreen
RGB
22, 108, 73
HSL
156°, 66%, 26%
CMYK
80, 0, 32, 58
Luminance
0.1138
Every format
| HEX | #166c49 |
| RGB | rgb(22, 108, 73) |
| HSL | hsl(156, 66%, 26%) |
| CMYK | cmyk(80%, 0%, 32%, 58%) |
| LAB | lab(40.2 -33.7 12.7) |
| LCH | lch(40.2 36.0 159.4) |
| OKLCH | oklch(0.473 0.097 160.7) |
Copy-ready code
/* CSS */
color: #166c49;
background-color: #166c49;
/* Tailwind (arbitrary) */
class="text-[#166c49] bg-[#166c49]"
/* SCSS */
$brand: #166c49;
/* SwiftUI */
Color(red: 0.086, green: 0.424, blue: 0.286)
/* Android */
Color.parseColor("#166c49")Accessibility — WCAG contrast
Aa
#166c49 on white: 6.41:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#166c49 on black: 3.28:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green42.4%
Blue28.6%
CMYK percentages
Cyan79.6%
Magenta0.0%
Yellow32.4%
Key (black)57.6%
Color previews
#166c49 text on a black background
contrast 3.28:1
Card sample
#166c49 text on a white background
contrast 6.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #166c49;
Background color
Panel with #166c49 background
background-color: #166c49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #166c49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 108, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 108, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #166c49; background: linear-gradient(135deg, #166c49, #16566C);