#181c01
a deep, electric yellow · cool · closest name: black
RGB
24, 28, 1
HSL
69°, 93%, 6%
CMYK
14, 0, 96, 89
Luminance
0.0103
Every format
| HEX | #181c01 |
| RGB | rgb(24, 28, 1) |
| HSL | hsl(69, 93%, 6%) |
| CMYK | cmyk(14%, 0%, 96%, 89%) |
| LAB | lab(9.2 -7.0 13.2) |
| LCH | lch(9.2 15.0 118.0) |
| OKLCH | oklch(0.215 0.048 117.1) |
Copy-ready code
/* CSS */
color: #181c01;
background-color: #181c01;
/* Tailwind (arbitrary) */
class="text-[#181c01] bg-[#181c01]"
/* SCSS */
$brand: #181c01;
/* SwiftUI */
Color(red: 0.094, green: 0.110, blue: 0.004)
/* Android */
Color.parseColor("#181c01")Accessibility — WCAG contrast
Aa
#181c01 on white: 17.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#181c01 on black: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green11.0%
Blue0.4%
CMYK percentages
Cyan14.3%
Magenta0.0%
Yellow96.4%
Key (black)89.0%
Color previews
#181c01 text on a black background
contrast 1.21:1
Card sample
#181c01 text on a white background
contrast 17.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #181c01;
Background color
Panel with #181c01 background
background-color: #181c01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #181c01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 28, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 28, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #181c01; background: linear-gradient(135deg, #181c01, #061C01);