#0cdf80
a balanced, electric green · cool · closest name: forestgreen
RGB
12, 223, 128
HSL
153°, 90%, 46%
CMYK
95, 0, 43, 13
Luminance
0.5441
Every format
| HEX | #0cdf80 |
| RGB | rgb(12, 223, 128) |
| HSL | hsl(153, 90%, 46%) |
| CMYK | cmyk(95%, 0%, 43%, 13%) |
| LAB | lab(78.7 -66.1 34.1) |
| LCH | lch(78.7 74.4 152.7) |
| OKLCH | oklch(0.794 0.197 154.5) |
Copy-ready code
/* CSS */
color: #0cdf80;
background-color: #0cdf80;
/* Tailwind (arbitrary) */
class="text-[#0cdf80] bg-[#0cdf80]"
/* SCSS */
$brand: #0cdf80;
/* SwiftUI */
Color(red: 0.047, green: 0.875, blue: 0.502)
/* Android */
Color.parseColor("#0cdf80")Accessibility — WCAG contrast
Aa
#0cdf80 on white: 1.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cdf80 on black: 11.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green87.5%
Blue50.2%
CMYK percentages
Cyan94.6%
Magenta0.0%
Yellow42.6%
Key (black)12.5%
Color previews
#0cdf80 text on a black background
contrast 11.88:1
Card sample
#0cdf80 text on a white background
contrast 1.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cdf80;
Background color
Panel with #0cdf80 background
background-color: #0cdf80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cdf80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 223, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 223, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cdf80; background: linear-gradient(135deg, #0cdf80, #0CB1DF);