#408921
a dark, vivid green · cool · closest name: forestgreen
RGB
64, 137, 33
HSL
102°, 61%, 33%
CMYK
53, 0, 76, 46
Luminance
0.1909
Every format
| HEX | #408921 |
| RGB | rgb(64, 137, 33) |
| HSL | hsl(102, 61%, 33%) |
| CMYK | cmyk(53%, 0%, 76%, 46%) |
| LAB | lab(50.8 -41.8 45.9) |
| LCH | lch(50.8 62.1 132.3) |
| OKLCH | oklch(0.562 0.155 138.2) |
Copy-ready code
/* CSS */
color: #408921;
background-color: #408921;
/* Tailwind (arbitrary) */
class="text-[#408921] bg-[#408921]"
/* SCSS */
$brand: #408921;
/* SwiftUI */
Color(red: 0.251, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#408921")Accessibility — WCAG contrast
Aa
#408921 on white: 4.36:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#408921 on black: 4.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green53.7%
Blue12.9%
CMYK percentages
Cyan53.3%
Magenta0.0%
Yellow75.9%
Key (black)46.3%
Color previews
#408921 text on a black background
contrast 4.82:1
Card sample
#408921 text on a white background
contrast 4.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #408921;
Background color
Panel with #408921 background
background-color: #408921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #408921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #408921; background: linear-gradient(135deg, #408921, #218947);