#078921
a dark, electric green · cool · closest name: forestgreen
RGB
7, 137, 33
HSL
132°, 90%, 28%
CMYK
95, 0, 76, 46
Luminance
0.1805
Every format
| HEX | #078921 |
| RGB | rgb(7, 137, 33) |
| HSL | hsl(132, 90%, 28%) |
| CMYK | cmyk(95%, 0%, 76%, 46%) |
| LAB | lab(49.5 -52.1 44.2) |
| LCH | lch(49.5 68.3 139.7) |
| OKLCH | oklch(0.548 0.172 144.5) |
Copy-ready code
/* CSS */
color: #078921;
background-color: #078921;
/* Tailwind (arbitrary) */
class="text-[#078921] bg-[#078921]"
/* SCSS */
$brand: #078921;
/* SwiftUI */
Color(red: 0.027, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#078921")Accessibility — WCAG contrast
Aa
#078921 on white: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#078921 on black: 4.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.7%
Green53.7%
Blue12.9%
CMYK percentages
Cyan94.9%
Magenta0.0%
Yellow75.9%
Key (black)46.3%
Color previews
#078921 text on a black background
contrast 4.61:1
Card sample
#078921 text on a white background
contrast 4.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #078921;
Background color
Panel with #078921 background
background-color: #078921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #078921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(7, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #078921; background: linear-gradient(135deg, #078921, #078978);