#424e21
a deep, soft green · cool · closest name: darkslategray
RGB
66, 78, 33
HSL
76°, 41%, 22%
CMYK
15, 0, 58, 69
Luminance
0.0672
Every format
| HEX | #424e21 |
| RGB | rgb(66, 78, 33) |
| HSL | hsl(76, 41%, 22%) |
| CMYK | cmyk(15%, 0%, 58%, 69%) |
| LAB | lab(31.1 -12.9 24.8) |
| LCH | lch(31.1 27.9 117.5) |
| OKLCH | oklch(0.402 0.069 121.9) |
Copy-ready code
/* CSS */
color: #424e21;
background-color: #424e21;
/* Tailwind (arbitrary) */
class="text-[#424e21] bg-[#424e21]"
/* SCSS */
$brand: #424e21;
/* SwiftUI */
Color(red: 0.259, green: 0.306, blue: 0.129)
/* Android */
Color.parseColor("#424e21")Accessibility — WCAG contrast
Aa
#424e21 on white: 8.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#424e21 on black: 2.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.9%
Green30.6%
Blue12.9%
CMYK percentages
Cyan15.4%
Magenta0.0%
Yellow57.7%
Key (black)69.4%
Color previews
#424e21 text on a black background
contrast 2.34:1
Card sample
#424e21 text on a white background
contrast 8.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #424e21;
Background color
Panel with #424e21 background
background-color: #424e21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #424e21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(66, 78, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 78, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #424e21; background: linear-gradient(135deg, #424e21, #244E21);