#166f49
a dark, vivid green · cool · closest name: seagreen
RGB
22, 111, 73
HSL
154°, 67%, 26%
CMYK
80, 0, 34, 57
Luminance
0.1202
Every format
| HEX | #166f49 |
| RGB | rgb(22, 111, 73) |
| HSL | hsl(154, 67%, 26%) |
| CMYK | cmyk(80%, 0%, 34%, 57%) |
| LAB | lab(41.3 -35.0 14.1) |
| LCH | lch(41.3 37.8 158.1) |
| OKLCH | oklch(0.481 0.102 159.5) |
Copy-ready code
/* CSS */
color: #166f49;
background-color: #166f49;
/* Tailwind (arbitrary) */
class="text-[#166f49] bg-[#166f49]"
/* SCSS */
$brand: #166f49;
/* SwiftUI */
Color(red: 0.086, green: 0.435, blue: 0.286)
/* Android */
Color.parseColor("#166f49")Accessibility — WCAG contrast
Aa
#166f49 on white: 6.17:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#166f49 on black: 3.40:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green43.5%
Blue28.6%
CMYK percentages
Cyan80.2%
Magenta0.0%
Yellow34.2%
Key (black)56.5%
Color previews
#166f49 text on a black background
contrast 3.40:1
Card sample
#166f49 text on a white background
contrast 6.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #166f49;
Background color
Panel with #166f49 background
background-color: #166f49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #166f49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 111, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 111, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #166f49; background: linear-gradient(135deg, #166f49, #165A6F);