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