#404b21
a deep, soft green · cool · closest name: darkslategray
RGB
64, 75, 33
HSL
76°, 39%, 21%
CMYK
15, 0, 56, 71
Luminance
0.0623
Every format
| HEX | #404b21 |
| RGB | rgb(64, 75, 33) |
| HSL | hsl(76, 39%, 21%) |
| CMYK | cmyk(15%, 0%, 56%, 71%) |
| LAB | lab(30.0 -12.1 23.4) |
| LCH | lch(30.0 26.3 117.4) |
| OKLCH | oklch(0.392 0.065 121.6) |
Copy-ready code
/* CSS */
color: #404b21;
background-color: #404b21;
/* Tailwind (arbitrary) */
class="text-[#404b21] bg-[#404b21]"
/* SCSS */
$brand: #404b21;
/* SwiftUI */
Color(red: 0.251, green: 0.294, blue: 0.129)
/* Android */
Color.parseColor("#404b21")Accessibility — WCAG contrast
Aa
#404b21 on white: 9.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#404b21 on black: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green29.4%
Blue12.9%
CMYK percentages
Cyan14.7%
Magenta0.0%
Yellow56.0%
Key (black)70.6%
Color previews
#404b21 text on a black background
contrast 2.25:1
Card sample
#404b21 text on a white background
contrast 9.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #404b21;
Background color
Panel with #404b21 background
background-color: #404b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #404b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 75, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 75, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #404b21; background: linear-gradient(135deg, #404b21, #244B21);