#004c21
a deep, electric green · cool · closest name: seagreen
RGB
0, 76, 33
HSL
146°, 100%, 15%
CMYK
100, 0, 57, 70
Luminance
0.0528
Every format
| HEX | #004c21 |
| RGB | rgb(0, 76, 33) |
| HSL | hsl(146, 100%, 15%) |
| CMYK | cmyk(100%, 0%, 57%, 70%) |
| LAB | lab(27.5 -32.1 19.7) |
| LCH | lch(27.5 37.6 148.5) |
| OKLCH | oklch(0.364 0.098 150.9) |
Copy-ready code
/* CSS */
color: #004c21;
background-color: #004c21;
/* Tailwind (arbitrary) */
class="text-[#004c21] bg-[#004c21]"
/* SCSS */
$brand: #004c21;
/* SwiftUI */
Color(red: 0.000, green: 0.298, blue: 0.129)
/* Android */
Color.parseColor("#004c21")Accessibility — WCAG contrast
Aa
#004c21 on white: 10.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#004c21 on black: 2.06:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green29.8%
Blue12.9%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow56.6%
Key (black)70.2%
Color previews
#004c21 text on a black background
contrast 2.06:1
Card sample
#004c21 text on a white background
contrast 10.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #004c21;
Background color
Panel with #004c21 background
background-color: #004c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #004c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 76, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 76, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #004c21; background: linear-gradient(135deg, #004c21, #00444C);