#162c21
a deep, soft green · cool · closest name: darkslategray
RGB
22, 44, 33
HSL
150°, 33%, 13%
CMYK
50, 0, 25, 83
Luminance
0.0208
Every format
| HEX | #162c21 |
| RGB | rgb(22, 44, 33) |
| HSL | hsl(150, 33%, 13%) |
| CMYK | cmyk(50%, 0%, 25%, 83%) |
| LAB | lab(15.9 -12.0 4.4) |
| LCH | lch(15.9 12.8 159.6) |
| OKLCH | oklch(0.271 0.035 161.0) |
Copy-ready code
/* CSS */
color: #162c21;
background-color: #162c21;
/* Tailwind (arbitrary) */
class="text-[#162c21] bg-[#162c21]"
/* SCSS */
$brand: #162c21;
/* SwiftUI */
Color(red: 0.086, green: 0.173, blue: 0.129)
/* Android */
Color.parseColor("#162c21")Accessibility — WCAG contrast
Aa
#162c21 on white: 14.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#162c21 on black: 1.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green17.3%
Blue12.9%
CMYK percentages
Cyan50.0%
Magenta0.0%
Yellow25.0%
Key (black)82.7%
Color previews
#162c21 text on a black background
contrast 1.42:1
Card sample
#162c21 text on a white background
contrast 14.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #162c21;
Background color
Panel with #162c21 background
background-color: #162c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #162c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 44, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 44, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #162c21; background: linear-gradient(135deg, #162c21, #16282C);