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