#3d3f21
a deep, soft yellow · cool · closest name: darkslategray
RGB
61, 63, 33
HSL
64°, 31%, 19%
CMYK
3, 0, 48, 75
Luminance
0.0466
Every format
| HEX | #3d3f21 |
| RGB | rgb(61, 63, 33) |
| HSL | hsl(64, 31%, 19%) |
| CMYK | cmyk(3%, 0%, 48%, 75%) |
| LAB | lab(25.7 -6.3 18.1) |
| LCH | lch(25.7 19.1 109.2) |
| OKLCH | oklch(0.358 0.047 111.9) |
Copy-ready code
/* CSS */
color: #3d3f21;
background-color: #3d3f21;
/* Tailwind (arbitrary) */
class="text-[#3d3f21] bg-[#3d3f21]"
/* SCSS */
$brand: #3d3f21;
/* SwiftUI */
Color(red: 0.239, green: 0.247, blue: 0.129)
/* Android */
Color.parseColor("#3d3f21")Accessibility — WCAG contrast
Aa
#3d3f21 on white: 10.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3d3f21 on black: 1.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red23.9%
Green24.7%
Blue12.9%
CMYK percentages
Cyan3.2%
Magenta0.0%
Yellow47.6%
Key (black)75.3%
Color previews
#3d3f21 text on a black background
contrast 1.93:1
Card sample
#3d3f21 text on a white background
contrast 10.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3d3f21;
Background color
Panel with #3d3f21 background
background-color: #3d3f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3d3f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(61, 63, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 63, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d3f21; background: linear-gradient(135deg, #3d3f21, #293F21);