#182c21
a deep, soft green · cool · closest name: darkslategray
RGB
24, 44, 33
HSL
147°, 29%, 13%
CMYK
46, 0, 25, 83
Luminance
0.0211
Every format
| HEX | #182c21 |
| RGB | rgb(24, 44, 33) |
| HSL | hsl(147, 29%, 13%) |
| CMYK | cmyk(46%, 0%, 25%, 83%) |
| LAB | lab(16.0 -11.2 4.6) |
| LCH | lch(16.0 12.1 157.6) |
| OKLCH | oklch(0.272 0.033 159.1) |
Copy-ready code
/* CSS */
color: #182c21;
background-color: #182c21;
/* Tailwind (arbitrary) */
class="text-[#182c21] bg-[#182c21]"
/* SCSS */
$brand: #182c21;
/* SwiftUI */
Color(red: 0.094, green: 0.173, blue: 0.129)
/* Android */
Color.parseColor("#182c21")Accessibility — WCAG contrast
Aa
#182c21 on white: 14.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#182c21 on black: 1.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green17.3%
Blue12.9%
CMYK percentages
Cyan45.5%
Magenta0.0%
Yellow25.0%
Key (black)82.7%
Color previews
#182c21 text on a black background
contrast 1.42:1
Card sample
#182c21 text on a white background
contrast 14.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #182c21;
Background color
Panel with #182c21 background
background-color: #182c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #182c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 44, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 44, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #182c21; background: linear-gradient(135deg, #182c21, #182A2C);