#412c01
a deep, electric yellow · warm · closest name: black
RGB
65, 44, 1
HSL
40°, 97%, 13%
CMYK
0, 32, 99, 75
Luminance
0.0293
Every format
| HEX | #412c01 |
| RGB | rgb(65, 44, 1) |
| HSL | hsl(40, 97%, 13%) |
| CMYK | cmyk(0%, 32%, 99%, 75%) |
| LAB | lab(19.8 5.4 27.9) |
| LCH | lch(19.8 28.4 79.0) |
| OKLCH | oklch(0.310 0.063 79.8) |
Copy-ready code
/* CSS */
color: #412c01;
background-color: #412c01;
/* Tailwind (arbitrary) */
class="text-[#412c01] bg-[#412c01]"
/* SCSS */
$brand: #412c01;
/* SwiftUI */
Color(red: 0.255, green: 0.173, blue: 0.004)
/* Android */
Color.parseColor("#412c01")Accessibility — WCAG contrast
Aa
#412c01 on white: 13.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#412c01 on black: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green17.3%
Blue0.4%
CMYK percentages
Cyan0.0%
Magenta32.3%
Yellow98.5%
Key (black)74.5%
Color previews
#412c01 text on a black background
contrast 1.59:1
Card sample
#412c01 text on a white background
contrast 13.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #412c01;
Background color
Panel with #412c01 background
background-color: #412c01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #412c01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 44, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 44, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #412c01; background: linear-gradient(135deg, #412c01, #2B4101);