#3e4021
a deep, soft yellow · cool · closest name: darkslategray
RGB
62, 64, 33
HSL
64°, 32%, 19%
CMYK
3, 0, 48, 75
Luminance
0.0480
Every format
| HEX | #3e4021 |
| RGB | rgb(62, 64, 33) |
| HSL | hsl(64, 32%, 19%) |
| CMYK | cmyk(3%, 0%, 48%, 75%) |
| LAB | lab(26.2 -6.4 18.6) |
| LCH | lch(26.2 19.7 109.1) |
| OKLCH | oklch(0.361 0.049 111.8) |
Copy-ready code
/* CSS */
color: #3e4021;
background-color: #3e4021;
/* Tailwind (arbitrary) */
class="text-[#3e4021] bg-[#3e4021]"
/* SCSS */
$brand: #3e4021;
/* SwiftUI */
Color(red: 0.243, green: 0.251, blue: 0.129)
/* Android */
Color.parseColor("#3e4021")Accessibility — WCAG contrast
Aa
#3e4021 on white: 10.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3e4021 on black: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red24.3%
Green25.1%
Blue12.9%
CMYK percentages
Cyan3.1%
Magenta0.0%
Yellow48.4%
Key (black)74.9%
Color previews
#3e4021 text on a black background
contrast 1.96:1
Card sample
#3e4021 text on a white background
contrast 10.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3e4021;
Background color
Panel with #3e4021 background
background-color: #3e4021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3e4021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(62, 64, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(62, 64, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3e4021; background: linear-gradient(135deg, #3e4021, #294021);