#004521
a deep, electric green · cool · closest name: darkslategray
RGB
0, 69, 33
HSL
149°, 100%, 14%
CMYK
100, 0, 52, 73
Luminance
0.0437
Every format
| HEX | #004521 |
| RGB | rgb(0, 69, 33) |
| HSL | hsl(149, 100%, 14%) |
| CMYK | cmyk(100%, 0%, 52%, 73%) |
| LAB | lab(24.9 -29.3 16.3) |
| LCH | lch(24.9 33.6 150.9) |
| OKLCH | oklch(0.342 0.088 153.0) |
Copy-ready code
/* CSS */
color: #004521;
background-color: #004521;
/* Tailwind (arbitrary) */
class="text-[#004521] bg-[#004521]"
/* SCSS */
$brand: #004521;
/* SwiftUI */
Color(red: 0.000, green: 0.271, blue: 0.129)
/* Android */
Color.parseColor("#004521")Accessibility — WCAG contrast
Aa
#004521 on white: 11.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#004521 on black: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green27.1%
Blue12.9%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow52.2%
Key (black)72.9%
Color previews
#004521 text on a black background
contrast 1.87:1
Card sample
#004521 text on a white background
contrast 11.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #004521;
Background color
Panel with #004521 background
background-color: #004521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #004521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 69, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 69, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #004521; background: linear-gradient(135deg, #004521, #003B45);