#0cf60c
a balanced, electric green · cool · closest name: lime
RGB
12, 246, 12
HSL
120°, 93%, 51%
CMYK
95, 0, 95, 4
Luminance
0.6602
Every format
| HEX | #0cf60c |
| RGB | rgb(12, 246, 12) |
| HSL | hsl(120, 93%, 51%) |
| CMYK | cmyk(95%, 0%, 95%, 4%) |
| LAB | lab(85.0 -83.3 80.0) |
| LCH | lch(85.0 115.5 136.2) |
| OKLCH | oklch(0.844 0.285 142.5) |
Copy-ready code
/* CSS */
color: #0cf60c;
background-color: #0cf60c;
/* Tailwind (arbitrary) */
class="text-[#0cf60c] bg-[#0cf60c]"
/* SCSS */
$brand: #0cf60c;
/* SwiftUI */
Color(red: 0.047, green: 0.965, blue: 0.047)
/* Android */
Color.parseColor("#0cf60c")Accessibility — WCAG contrast
Aa
#0cf60c on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cf60c on black: 14.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green96.5%
Blue4.7%
CMYK percentages
Cyan95.1%
Magenta0.0%
Yellow95.1%
Key (black)3.5%
Color previews
#0cf60c text on a black background
contrast 14.20:1
Card sample
#0cf60c text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cf60c;
Background color
Panel with #0cf60c background
background-color: #0cf60c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cf60c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 246, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 246, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cf60c; background: linear-gradient(135deg, #0cf60c, #0CF6A8);