#3a3d21
a deep, soft yellow · cool · closest name: darkslategray
RGB
58, 61, 33
HSL
66°, 30%, 18%
CMYK
5, 0, 46, 76
Luminance
0.0435
Every format
| HEX | #3a3d21 |
| RGB | rgb(58, 61, 33) |
| HSL | hsl(66, 30%, 18%) |
| CMYK | cmyk(5%, 0%, 46%, 76%) |
| LAB | lab(24.8 -6.5 16.8) |
| LCH | lch(24.8 18.1 111.2) |
| OKLCH | oklch(0.349 0.045 113.7) |
Copy-ready code
/* CSS */
color: #3a3d21;
background-color: #3a3d21;
/* Tailwind (arbitrary) */
class="text-[#3a3d21] bg-[#3a3d21]"
/* SCSS */
$brand: #3a3d21;
/* SwiftUI */
Color(red: 0.227, green: 0.239, blue: 0.129)
/* Android */
Color.parseColor("#3a3d21")Accessibility — WCAG contrast
Aa
#3a3d21 on white: 11.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3a3d21 on black: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.7%
Green23.9%
Blue12.9%
CMYK percentages
Cyan4.9%
Magenta0.0%
Yellow45.9%
Key (black)76.1%
Color previews
#3a3d21 text on a black background
contrast 1.87:1
Card sample
#3a3d21 text on a white background
contrast 11.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3a3d21;
Background color
Panel with #3a3d21 background
background-color: #3a3d21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3a3d21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(58, 61, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 61, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a3d21; background: linear-gradient(135deg, #3a3d21, #273D21);