#0cd075
a dark, electric green · cool · closest name: forestgreen
RGB
12, 208, 117
HSL
152°, 89%, 43%
CMYK
94, 0, 44, 18
Luminance
0.4647
Every format
| HEX | #0cd075 |
| RGB | rgb(12, 208, 117) |
| HSL | hsl(152, 89%, 43%) |
| CMYK | cmyk(94%, 0%, 44%, 18%) |
| LAB | lab(73.8 -63.1 33.4) |
| LCH | lch(73.8 71.3 152.1) |
| OKLCH | oklch(0.753 0.188 154.0) |
Copy-ready code
/* CSS */
color: #0cd075;
background-color: #0cd075;
/* Tailwind (arbitrary) */
class="text-[#0cd075] bg-[#0cd075]"
/* SCSS */
$brand: #0cd075;
/* SwiftUI */
Color(red: 0.047, green: 0.816, blue: 0.459)
/* Android */
Color.parseColor("#0cd075")Accessibility — WCAG contrast
Aa
#0cd075 on white: 2.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cd075 on black: 10.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green81.6%
Blue45.9%
CMYK percentages
Cyan94.2%
Magenta0.0%
Yellow43.8%
Key (black)18.4%
Color previews
#0cd075 text on a black background
contrast 10.29:1
Card sample
#0cd075 text on a white background
contrast 2.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cd075;
Background color
Panel with #0cd075 background
background-color: #0cd075;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cd075;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 208, 117, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 208, 117, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cd075; background: linear-gradient(135deg, #0cd075, #0CA8D0);