#004b0f
a deep, electric green · cool · closest name: seagreen
RGB
0, 75, 15
HSL
132°, 100%, 15%
CMYK
100, 0, 80, 71
Luminance
0.0507
Every format
| HEX | #004b0f |
| RGB | rgb(0, 75, 15) |
| HSL | hsl(132, 100%, 15%) |
| CMYK | cmyk(100%, 0%, 80%, 71%) |
| LAB | lab(26.9 -34.3 28.4) |
| LCH | lch(26.9 44.5 140.4) |
| OKLCH | oklch(0.359 0.113 145.0) |
Copy-ready code
/* CSS */
color: #004b0f;
background-color: #004b0f;
/* Tailwind (arbitrary) */
class="text-[#004b0f] bg-[#004b0f]"
/* SCSS */
$brand: #004b0f;
/* SwiftUI */
Color(red: 0.000, green: 0.294, blue: 0.059)
/* Android */
Color.parseColor("#004b0f")Accessibility — WCAG contrast
Aa
#004b0f on white: 10.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#004b0f on black: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green29.4%
Blue5.9%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow80.0%
Key (black)70.6%
Color previews
#004b0f text on a black background
contrast 2.01:1
Card sample
#004b0f text on a white background
contrast 10.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #004b0f;
Background color
Panel with #004b0f background
background-color: #004b0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #004b0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 75, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 75, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #004b0f; background: linear-gradient(135deg, #004b0f, #004B41);