#3a3b21
a deep, soft yellow · cool · closest name: darkslategray
RGB
58, 59, 33
HSL
62°, 28%, 18%
CMYK
2, 0, 44, 77
Luminance
0.0414
Every format
| HEX | #3a3b21 |
| RGB | rgb(58, 59, 33) |
| HSL | hsl(62, 28%, 18%) |
| CMYK | cmyk(2%, 0%, 44%, 77%) |
| LAB | lab(24.1 -5.3 16.0) |
| LCH | lch(24.1 16.8 108.3) |
| OKLCH | oklch(0.344 0.042 110.3) |
Copy-ready code
/* CSS */
color: #3a3b21;
background-color: #3a3b21;
/* Tailwind (arbitrary) */
class="text-[#3a3b21] bg-[#3a3b21]"
/* SCSS */
$brand: #3a3b21;
/* SwiftUI */
Color(red: 0.227, green: 0.231, blue: 0.129)
/* Android */
Color.parseColor("#3a3b21")Accessibility — WCAG contrast
Aa
#3a3b21 on white: 11.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3a3b21 on black: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.7%
Green23.1%
Blue12.9%
CMYK percentages
Cyan1.7%
Magenta0.0%
Yellow44.1%
Key (black)76.9%
Color previews
#3a3b21 text on a black background
contrast 1.83:1
Card sample
#3a3b21 text on a white background
contrast 11.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3a3b21;
Background color
Panel with #3a3b21 background
background-color: #3a3b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3a3b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(58, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a3b21; background: linear-gradient(135deg, #3a3b21, #293B21);