#0cd477
a dark, electric green · cool · closest name: forestgreen
RGB
12, 212, 119
HSL
152°, 89%, 44%
CMYK
94, 0, 44, 17
Luminance
0.4850
Every format
| HEX | #0cd477 |
| RGB | rgb(12, 212, 119) |
| HSL | hsl(152, 89%, 44%) |
| CMYK | cmyk(94%, 0%, 44%, 17%) |
| LAB | lab(75.1 -64.0 34.0) |
| LCH | lch(75.1 72.5 152.0) |
| OKLCH | oklch(0.764 0.191 153.9) |
Copy-ready code
/* CSS */
color: #0cd477;
background-color: #0cd477;
/* Tailwind (arbitrary) */
class="text-[#0cd477] bg-[#0cd477]"
/* SCSS */
$brand: #0cd477;
/* SwiftUI */
Color(red: 0.047, green: 0.831, blue: 0.467)
/* Android */
Color.parseColor("#0cd477")Accessibility — WCAG contrast
Aa
#0cd477 on white: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cd477 on black: 10.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green83.1%
Blue46.7%
CMYK percentages
Cyan94.3%
Magenta0.0%
Yellow43.9%
Key (black)16.9%
Color previews
#0cd477 text on a black background
contrast 10.70:1
Card sample
#0cd477 text on a white background
contrast 1.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cd477;
Background color
Panel with #0cd477 background
background-color: #0cd477;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cd477;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 212, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 212, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cd477; background: linear-gradient(135deg, #0cd477, #0CACD4);