#08cd45
a dark, electric green · cool · closest name: forestgreen
RGB
8, 205, 69
HSL
139°, 93%, 42%
CMYK
96, 0, 66, 20
Luminance
0.4414
Every format
| HEX | #08cd45 |
| RGB | rgb(8, 205, 69) |
| HSL | hsl(139, 93%, 42%) |
| CMYK | cmyk(96%, 0%, 66%, 20%) |
| LAB | lab(72.3 -69.1 54.0) |
| LCH | lch(72.3 87.7 142.0) |
| OKLCH | oklch(0.739 0.224 146.1) |
Copy-ready code
/* CSS */
color: #08cd45;
background-color: #08cd45;
/* Tailwind (arbitrary) */
class="text-[#08cd45] bg-[#08cd45]"
/* SCSS */
$brand: #08cd45;
/* SwiftUI */
Color(red: 0.031, green: 0.804, blue: 0.271)
/* Android */
Color.parseColor("#08cd45")Accessibility — WCAG contrast
Aa
#08cd45 on white: 2.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#08cd45 on black: 9.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green80.4%
Blue27.1%
CMYK percentages
Cyan96.1%
Magenta0.0%
Yellow66.3%
Key (black)19.6%
Color previews
#08cd45 text on a black background
contrast 9.83:1
Card sample
#08cd45 text on a white background
contrast 2.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #08cd45;
Background color
Panel with #08cd45 background
background-color: #08cd45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #08cd45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 205, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 205, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08cd45; background: linear-gradient(135deg, #08cd45, #08CDC9);