#08cf50
a dark, electric green · cool · closest name: forestgreen
RGB
8, 207, 80
HSL
142°, 93%, 42%
CMYK
96, 0, 61, 19
Luminance
0.4526
Every format
| HEX | #08cf50 |
| RGB | rgb(8, 207, 80) |
| HSL | hsl(142, 93%, 42%) |
| CMYK | cmyk(96%, 0%, 61%, 19%) |
| LAB | lab(73.1 -68.5 50.1) |
| LCH | lch(73.1 84.8 143.8) |
| OKLCH | oklch(0.745 0.218 147.3) |
Copy-ready code
/* CSS */
color: #08cf50;
background-color: #08cf50;
/* Tailwind (arbitrary) */
class="text-[#08cf50] bg-[#08cf50]"
/* SCSS */
$brand: #08cf50;
/* SwiftUI */
Color(red: 0.031, green: 0.812, blue: 0.314)
/* Android */
Color.parseColor("#08cf50")Accessibility — WCAG contrast
Aa
#08cf50 on white: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#08cf50 on black: 10.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green81.2%
Blue31.4%
CMYK percentages
Cyan96.1%
Magenta0.0%
Yellow61.4%
Key (black)18.8%
Color previews
#08cf50 text on a black background
contrast 10.05:1
Card sample
#08cf50 text on a white background
contrast 2.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #08cf50;
Background color
Panel with #08cf50 background
background-color: #08cf50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #08cf50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 207, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 207, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08cf50; background: linear-gradient(135deg, #08cf50, #08CACF);