#405e21
a deep, vivid green · cool · closest name: seagreen
RGB
64, 94, 33
HSL
90°, 48%, 25%
CMYK
32, 0, 65, 63
Luminance
0.0921
Every format
| HEX | #405e21 |
| RGB | rgb(64, 94, 33) |
| HSL | hsl(90, 48%, 25%) |
| CMYK | cmyk(32%, 0%, 65%, 63%) |
| LAB | lab(36.4 -22.4 30.7) |
| LCH | lch(36.4 38.0 126.1) |
| OKLCH | oklch(0.444 0.095 131.4) |
Copy-ready code
/* CSS */
color: #405e21;
background-color: #405e21;
/* Tailwind (arbitrary) */
class="text-[#405e21] bg-[#405e21]"
/* SCSS */
$brand: #405e21;
/* SwiftUI */
Color(red: 0.251, green: 0.369, blue: 0.129)
/* Android */
Color.parseColor("#405e21")Accessibility — WCAG contrast
Aa
#405e21 on white: 7.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#405e21 on black: 2.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green36.9%
Blue12.9%
CMYK percentages
Cyan31.9%
Magenta0.0%
Yellow64.9%
Key (black)63.1%
Color previews
#405e21 text on a black background
contrast 2.84:1
Card sample
#405e21 text on a white background
contrast 7.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #405e21;
Background color
Panel with #405e21 background
background-color: #405e21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #405e21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 94, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 94, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #405e21; background: linear-gradient(135deg, #405e21, #215E2B);