#0cd982
a dark, electric green · cool · closest name: aquamarine
RGB
12, 217, 130
HSL
155°, 90%, 45%
CMYK
95, 0, 40, 15
Luminance
0.5132
Every format
| HEX | #0cd982 |
| RGB | rgb(12, 217, 130) |
| HSL | hsl(155, 90%, 45%) |
| CMYK | cmyk(95%, 0%, 40%, 15%) |
| LAB | lab(76.9 -63.7 30.7) |
| LCH | lch(76.9 70.7 154.3) |
| OKLCH | oklch(0.779 0.188 155.9) |
Copy-ready code
/* CSS */
color: #0cd982;
background-color: #0cd982;
/* Tailwind (arbitrary) */
class="text-[#0cd982] bg-[#0cd982]"
/* SCSS */
$brand: #0cd982;
/* SwiftUI */
Color(red: 0.047, green: 0.851, blue: 0.510)
/* Android */
Color.parseColor("#0cd982")Accessibility — WCAG contrast
Aa
#0cd982 on white: 1.86:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cd982 on black: 11.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green85.1%
Blue51.0%
CMYK percentages
Cyan94.5%
Magenta0.0%
Yellow40.1%
Key (black)14.9%
Color previews
#0cd982 text on a black background
contrast 11.26:1
Card sample
#0cd982 text on a white background
contrast 1.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cd982;
Background color
Panel with #0cd982 background
background-color: #0cd982;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cd982;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 217, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 217, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cd982; background: linear-gradient(135deg, #0cd982, #0CA7D9);