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