#08af50
a dark, electric green · cool · closest name: forestgreen
RGB
8, 175, 80
HSL
146°, 91%, 36%
CMYK
95, 0, 54, 31
Luminance
0.3129
Every format
| HEX | #08af50 |
| RGB | rgb(8, 175, 80) |
| HSL | hsl(146, 91%, 36%) |
| CMYK | cmyk(95%, 0%, 54%, 31%) |
| LAB | lab(62.8 -58.4 38.0) |
| LCH | lch(62.8 69.7 147.0) |
| OKLCH | oklch(0.659 0.181 149.7) |
Copy-ready code
/* CSS */
color: #08af50;
background-color: #08af50;
/* Tailwind (arbitrary) */
class="text-[#08af50] bg-[#08af50]"
/* SCSS */
$brand: #08af50;
/* SwiftUI */
Color(red: 0.031, green: 0.686, blue: 0.314)
/* Android */
Color.parseColor("#08af50")Accessibility — WCAG contrast
Aa
#08af50 on white: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#08af50 on black: 7.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green68.6%
Blue31.4%
CMYK percentages
Cyan95.4%
Magenta0.0%
Yellow54.3%
Key (black)31.4%
Color previews
#08af50 text on a black background
contrast 7.26:1
Card sample
#08af50 text on a white background
contrast 2.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #08af50;
Background color
Panel with #08af50 background
background-color: #08af50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #08af50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 175, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 175, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08af50; background: linear-gradient(135deg, #08af50, #089FAF);