#08ab30
a dark, electric green · cool · closest name: forestgreen
RGB
8, 171, 48
HSL
135°, 91%, 35%
CMYK
95, 0, 72, 33
Luminance
0.2939
Every format
| HEX | #08ab30 |
| RGB | rgb(8, 171, 48) |
| HSL | hsl(135, 91%, 35%) |
| CMYK | cmyk(95%, 0%, 72%, 33%) |
| LAB | lab(61.1 -61.1 50.4) |
| LCH | lch(61.1 79.2 140.5) |
| OKLCH | oklch(0.645 0.201 145.0) |
Copy-ready code
/* CSS */
color: #08ab30;
background-color: #08ab30;
/* Tailwind (arbitrary) */
class="text-[#08ab30] bg-[#08ab30]"
/* SCSS */
$brand: #08ab30;
/* SwiftUI */
Color(red: 0.031, green: 0.671, blue: 0.188)
/* Android */
Color.parseColor("#08ab30")Accessibility — WCAG contrast
Aa
#08ab30 on white: 3.05:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#08ab30 on black: 6.88:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green67.1%
Blue18.8%
CMYK percentages
Cyan95.3%
Magenta0.0%
Yellow71.9%
Key (black)32.9%
Color previews
#08ab30 text on a black background
contrast 6.88:1
Card sample
#08ab30 text on a white background
contrast 3.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #08ab30;
Background color
Panel with #08ab30 background
background-color: #08ab30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #08ab30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 171, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 171, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08ab30; background: linear-gradient(135deg, #08ab30, #08AB9D);