#403b21
a deep, soft yellow · cool · closest name: darkslategray
RGB
64, 59, 33
HSL
50°, 32%, 19%
CMYK
0, 8, 48, 75
Luminance
0.0433
Every format
| HEX | #403b21 |
| RGB | rgb(64, 59, 33) |
| HSL | hsl(50, 32%, 19%) |
| CMYK | cmyk(0%, 8%, 48%, 75%) |
| LAB | lab(24.7 -2.3 16.9) |
| LCH | lch(24.7 17.0 97.8) |
| OKLCH | oklch(0.350 0.042 98.7) |
Copy-ready code
/* CSS */
color: #403b21;
background-color: #403b21;
/* Tailwind (arbitrary) */
class="text-[#403b21] bg-[#403b21]"
/* SCSS */
$brand: #403b21;
/* SwiftUI */
Color(red: 0.251, green: 0.231, blue: 0.129)
/* Android */
Color.parseColor("#403b21")Accessibility — WCAG contrast
Aa
#403b21 on white: 11.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#403b21 on black: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green23.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta7.8%
Yellow48.4%
Key (black)74.9%
Color previews
#403b21 text on a black background
contrast 1.87:1
Card sample
#403b21 text on a white background
contrast 11.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #403b21;
Background color
Panel with #403b21 background
background-color: #403b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #403b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403b21; background: linear-gradient(135deg, #403b21, #304021);