#173b21
a deep, soft green · cool · closest name: darkslategray
RGB
23, 59, 33
HSL
137°, 44%, 16%
CMYK
61, 0, 44, 77
Luminance
0.0342
Every format
| HEX | #173b21 |
| RGB | rgb(23, 59, 33) |
| HSL | hsl(137, 44%, 16%) |
| CMYK | cmyk(61%, 0%, 44%, 77%) |
| LAB | lab(21.6 -20.0 12.3) |
| LCH | lch(21.6 23.5 148.4) |
| OKLCH | oklch(0.318 0.062 150.5) |
Copy-ready code
/* CSS */
color: #173b21;
background-color: #173b21;
/* Tailwind (arbitrary) */
class="text-[#173b21] bg-[#173b21]"
/* SCSS */
$brand: #173b21;
/* SwiftUI */
Color(red: 0.090, green: 0.231, blue: 0.129)
/* Android */
Color.parseColor("#173b21")Accessibility — WCAG contrast
Aa
#173b21 on white: 12.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#173b21 on black: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green23.1%
Blue12.9%
CMYK percentages
Cyan61.0%
Magenta0.0%
Yellow44.1%
Key (black)76.9%
Color previews
#173b21 text on a black background
contrast 1.68:1
Card sample
#173b21 text on a white background
contrast 12.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #173b21;
Background color
Panel with #173b21 background
background-color: #173b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #173b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #173b21; background: linear-gradient(135deg, #173b21, #173B39);