#174821
a deep, vivid green · cool · closest name: darkslategray
RGB
23, 72, 33
HSL
132°, 52%, 19%
CMYK
68, 0, 54, 72
Luminance
0.0493
Every format
| HEX | #174821 |
| RGB | rgb(23, 72, 33) |
| HSL | hsl(132, 52%, 19%) |
| CMYK | cmyk(68%, 0%, 54%, 72%) |
| LAB | lab(26.5 -26.3 18.6) |
| LCH | lch(26.5 32.1 144.7) |
| OKLCH | oklch(0.358 0.084 147.5) |
Copy-ready code
/* CSS */
color: #174821;
background-color: #174821;
/* Tailwind (arbitrary) */
class="text-[#174821] bg-[#174821]"
/* SCSS */
$brand: #174821;
/* SwiftUI */
Color(red: 0.090, green: 0.282, blue: 0.129)
/* Android */
Color.parseColor("#174821")Accessibility — WCAG contrast
Aa
#174821 on white: 10.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#174821 on black: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green28.2%
Blue12.9%
CMYK percentages
Cyan68.1%
Magenta0.0%
Yellow54.2%
Key (black)71.8%
Color previews
#174821 text on a black background
contrast 1.99:1
Card sample
#174821 text on a white background
contrast 10.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #174821;
Background color
Panel with #174821 background
background-color: #174821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #174821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 72, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 72, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #174821; background: linear-gradient(135deg, #174821, #174842);