#182c01
a deep, electric green · cool · closest name: darkslategray
RGB
24, 44, 1
HSL
88°, 96%, 9%
CMYK
46, 0, 98, 83
Luminance
0.0200
Every format
| HEX | #182c01 |
| RGB | rgb(24, 44, 1) |
| HSL | hsl(88, 96%, 9%) |
| CMYK | cmyk(46%, 0%, 98%, 83%) |
| LAB | lab(15.5 -16.6 21.7) |
| LCH | lch(15.5 27.4 127.4) |
| OKLCH | oklch(0.266 0.072 131.5) |
Copy-ready code
/* CSS */
color: #182c01;
background-color: #182c01;
/* Tailwind (arbitrary) */
class="text-[#182c01] bg-[#182c01]"
/* SCSS */
$brand: #182c01;
/* SwiftUI */
Color(red: 0.094, green: 0.173, blue: 0.004)
/* Android */
Color.parseColor("#182c01")Accessibility — WCAG contrast
Aa
#182c01 on white: 15.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#182c01 on black: 1.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green17.3%
Blue0.4%
CMYK percentages
Cyan45.5%
Magenta0.0%
Yellow97.7%
Key (black)82.7%
Color previews
#182c01 text on a black background
contrast 1.40:1
Card sample
#182c01 text on a white background
contrast 15.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #182c01;
Background color
Panel with #182c01 background
background-color: #182c01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #182c01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 44, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 44, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #182c01; background: linear-gradient(135deg, #182c01, #012C07);