#054921
a deep, electric green · cool · closest name: seagreen
RGB
5, 73, 33
HSL
145°, 87%, 15%
CMYK
93, 0, 55, 71
Luminance
0.0491
Every format
| HEX | #054921 |
| RGB | rgb(5, 73, 33) |
| HSL | hsl(145, 87%, 15%) |
| CMYK | cmyk(93%, 0%, 55%, 71%) |
| LAB | lab(26.5 -30.1 18.4) |
| LCH | lch(26.5 35.3 148.6) |
| OKLCH | oklch(0.356 0.092 151.0) |
Copy-ready code
/* CSS */
color: #054921;
background-color: #054921;
/* Tailwind (arbitrary) */
class="text-[#054921] bg-[#054921]"
/* SCSS */
$brand: #054921;
/* SwiftUI */
Color(red: 0.020, green: 0.286, blue: 0.129)
/* Android */
Color.parseColor("#054921")Accessibility — WCAG contrast
Aa
#054921 on white: 10.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#054921 on black: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.0%
Green28.6%
Blue12.9%
CMYK percentages
Cyan93.2%
Magenta0.0%
Yellow54.8%
Key (black)71.4%
Color previews
#054921 text on a black background
contrast 1.98:1
Card sample
#054921 text on a white background
contrast 10.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #054921;
Background color
Panel with #054921 background
background-color: #054921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #054921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(5, 73, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 73, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #054921; background: linear-gradient(135deg, #054921, #054449);