#302c13
a deep, soft yellow · cool · closest name: black
RGB
48, 44, 19
HSL
52°, 43%, 13%
CMYK
0, 8, 60, 81
Luminance
0.0248
Every format
| HEX | #302c13 |
| RGB | rgb(48, 44, 19) |
| HSL | hsl(52, 43%, 13%) |
| CMYK | cmyk(0%, 8%, 60%, 81%) |
| LAB | lab(17.8 -2.5 16.8) |
| LCH | lch(17.8 16.9 98.3) |
| OKLCH | oklch(0.291 0.041 100.4) |
Copy-ready code
/* CSS */
color: #302c13;
background-color: #302c13;
/* Tailwind (arbitrary) */
class="text-[#302c13] bg-[#302c13]"
/* SCSS */
$brand: #302c13;
/* SwiftUI */
Color(red: 0.188, green: 0.173, blue: 0.075)
/* Android */
Color.parseColor("#302c13")Accessibility — WCAG contrast
Aa
#302c13 on white: 14.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#302c13 on black: 1.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green17.3%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta8.3%
Yellow60.4%
Key (black)81.2%
Color previews
#302c13 text on a black background
contrast 1.50:1
Card sample
#302c13 text on a white background
contrast 14.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #302c13;
Background color
Panel with #302c13 background
background-color: #302c13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #302c13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 44, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 44, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #302c13; background: linear-gradient(135deg, #302c13, #213013);