#173c0f
a deep, vivid green · cool · closest name: darkslategray
RGB
23, 60, 15
HSL
109°, 60%, 15%
CMYK
62, 0, 75, 77
Luminance
0.0345
Every format
| HEX | #173c0f |
| RGB | rgb(23, 60, 15) |
| HSL | hsl(109, 60%, 15%) |
| CMYK | cmyk(62%, 0%, 75%, 77%) |
| LAB | lab(21.8 -23.4 23.1) |
| LCH | lch(21.8 32.9 135.4) |
| OKLCH | oklch(0.318 0.084 140.3) |
Copy-ready code
/* CSS */
color: #173c0f;
background-color: #173c0f;
/* Tailwind (arbitrary) */
class="text-[#173c0f] bg-[#173c0f]"
/* SCSS */
$brand: #173c0f;
/* SwiftUI */
Color(red: 0.090, green: 0.235, blue: 0.059)
/* Android */
Color.parseColor("#173c0f")Accessibility — WCAG contrast
Aa
#173c0f on white: 12.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#173c0f on black: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green23.5%
Blue5.9%
CMYK percentages
Cyan61.7%
Magenta0.0%
Yellow75.0%
Key (black)76.5%
Color previews
#173c0f text on a black background
contrast 1.69:1
Card sample
#173c0f text on a white background
contrast 12.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #173c0f;
Background color
Panel with #173c0f background
background-color: #173c0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #173c0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 60, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 60, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #173c0f; background: linear-gradient(135deg, #173c0f, #0F3C25);