#079a21
a dark, electric green · cool · closest name: forestgreen
RGB
7, 154, 33
HSL
131°, 91%, 32%
CMYK
96, 0, 79, 40
Luminance
0.2327
Every format
| HEX | #079a21 |
| RGB | rgb(7, 154, 33) |
| HSL | hsl(131, 91%, 32%) |
| CMYK | cmyk(96%, 0%, 79%, 40%) |
| LAB | lab(55.3 -57.3 50.0) |
| LCH | lch(55.3 76.0 138.9) |
| OKLCH | oklch(0.596 0.191 144.0) |
Copy-ready code
/* CSS */
color: #079a21;
background-color: #079a21;
/* Tailwind (arbitrary) */
class="text-[#079a21] bg-[#079a21]"
/* SCSS */
$brand: #079a21;
/* SwiftUI */
Color(red: 0.027, green: 0.604, blue: 0.129)
/* Android */
Color.parseColor("#079a21")Accessibility — WCAG contrast
Aa
#079a21 on white: 3.71:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#079a21 on black: 5.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.7%
Green60.4%
Blue12.9%
CMYK percentages
Cyan95.5%
Magenta0.0%
Yellow78.6%
Key (black)39.6%
Color previews
#079a21 text on a black background
contrast 5.65:1
Card sample
#079a21 text on a white background
contrast 3.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #079a21;
Background color
Panel with #079a21 background
background-color: #079a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #079a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(7, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #079a21; background: linear-gradient(135deg, #079a21, #079A83);