#0cdf15
a balanced, electric green · cool · closest name: lime
RGB
12, 223, 21
HSL
123°, 90%, 46%
CMYK
95, 0, 91, 13
Luminance
0.5291
Every format
| HEX | #0cdf15 |
| RGB | rgb(12, 223, 21) |
| HSL | hsl(123, 90%, 46%) |
| CMYK | cmyk(95%, 0%, 91%, 13%) |
| LAB | lab(77.8 -77.0 73.0) |
| LCH | lch(77.8 106.1 136.5) |
| OKLCH | oklch(0.784 0.263 142.7) |
Copy-ready code
/* CSS */
color: #0cdf15;
background-color: #0cdf15;
/* Tailwind (arbitrary) */
class="text-[#0cdf15] bg-[#0cdf15]"
/* SCSS */
$brand: #0cdf15;
/* SwiftUI */
Color(red: 0.047, green: 0.875, blue: 0.082)
/* Android */
Color.parseColor("#0cdf15")Accessibility — WCAG contrast
Aa
#0cdf15 on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cdf15 on black: 11.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green87.5%
Blue8.2%
CMYK percentages
Cyan94.6%
Magenta0.0%
Yellow90.6%
Key (black)12.5%
Color previews
#0cdf15 text on a black background
contrast 11.58:1
Card sample
#0cdf15 text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cdf15;
Background color
Panel with #0cdf15 background
background-color: #0cdf15;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cdf15;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 223, 21, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 223, 21, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cdf15; background: linear-gradient(135deg, #0cdf15, #0CDFA2);