#0cd577
a dark, electric green · cool · closest name: forestgreen
RGB
12, 213, 119
HSL
152°, 89%, 44%
CMYK
94, 0, 44, 17
Luminance
0.4900
Every format
| HEX | #0cd577 |
| RGB | rgb(12, 213, 119) |
| HSL | hsl(152, 89%, 44%) |
| CMYK | cmyk(94%, 0%, 44%, 17%) |
| LAB | lab(75.5 -64.4 34.4) |
| LCH | lch(75.5 73.0 151.9) |
| OKLCH | oklch(0.767 0.192 153.8) |
Copy-ready code
/* CSS */
color: #0cd577;
background-color: #0cd577;
/* Tailwind (arbitrary) */
class="text-[#0cd577] bg-[#0cd577]"
/* SCSS */
$brand: #0cd577;
/* SwiftUI */
Color(red: 0.047, green: 0.835, blue: 0.467)
/* Android */
Color.parseColor("#0cd577")Accessibility — WCAG contrast
Aa
#0cd577 on white: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cd577 on black: 10.80:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green83.5%
Blue46.7%
CMYK percentages
Cyan94.4%
Magenta0.0%
Yellow44.1%
Key (black)16.5%
Color previews
#0cd577 text on a black background
contrast 10.80:1
Card sample
#0cd577 text on a white background
contrast 1.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cd577;
Background color
Panel with #0cd577 background
background-color: #0cd577;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cd577;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 213, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 213, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cd577; background: linear-gradient(135deg, #0cd577, #0CADD5);