#405c21
a deep, vivid green · cool · closest name: seagreen
RGB
64, 92, 33
HSL
89°, 47%, 25%
CMYK
30, 0, 64, 64
Luminance
0.0885
Every format
| HEX | #405c21 |
| RGB | rgb(64, 92, 33) |
| HSL | hsl(89, 47%, 25%) |
| CMYK | cmyk(30%, 0%, 64%, 64%) |
| LAB | lab(35.7 -21.4 30.0) |
| LCH | lch(35.7 36.8 125.5) |
| OKLCH | oklch(0.438 0.092 130.7) |
Copy-ready code
/* CSS */
color: #405c21;
background-color: #405c21;
/* Tailwind (arbitrary) */
class="text-[#405c21] bg-[#405c21]"
/* SCSS */
$brand: #405c21;
/* SwiftUI */
Color(red: 0.251, green: 0.361, blue: 0.129)
/* Android */
Color.parseColor("#405c21")Accessibility — WCAG contrast
Aa
#405c21 on white: 7.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#405c21 on black: 2.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green36.1%
Blue12.9%
CMYK percentages
Cyan30.4%
Magenta0.0%
Yellow64.1%
Key (black)63.9%
Color previews
#405c21 text on a black background
contrast 2.77:1
Card sample
#405c21 text on a white background
contrast 7.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #405c21;
Background color
Panel with #405c21 background
background-color: #405c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #405c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 92, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 92, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #405c21; background: linear-gradient(135deg, #405c21, #215C29);