#3a4021
a deep, soft green · cool · closest name: darkslategray
RGB
58, 64, 33
HSL
72°, 32%, 19%
CMYK
9, 0, 48, 75
Luminance
0.0468
Every format
| HEX | #3a4021 |
| RGB | rgb(58, 64, 33) |
| HSL | hsl(72, 32%, 19%) |
| CMYK | cmyk(9%, 0%, 48%, 75%) |
| LAB | lab(25.8 -8.4 18.1) |
| LCH | lch(25.8 19.9 114.8) |
| OKLCH | oklch(0.357 0.050 118.0) |
Copy-ready code
/* CSS */
color: #3a4021;
background-color: #3a4021;
/* Tailwind (arbitrary) */
class="text-[#3a4021] bg-[#3a4021]"
/* SCSS */
$brand: #3a4021;
/* SwiftUI */
Color(red: 0.227, green: 0.251, blue: 0.129)
/* Android */
Color.parseColor("#3a4021")Accessibility — WCAG contrast
Aa
#3a4021 on white: 10.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3a4021 on black: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.7%
Green25.1%
Blue12.9%
CMYK percentages
Cyan9.4%
Magenta0.0%
Yellow48.4%
Key (black)74.9%
Color previews
#3a4021 text on a black background
contrast 1.94:1
Card sample
#3a4021 text on a white background
contrast 10.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3a4021;
Background color
Panel with #3a4021 background
background-color: #3a4021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3a4021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(58, 64, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 64, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a4021; background: linear-gradient(135deg, #3a4021, #254021);