#0ccc0c
a dark, electric green · cool · closest name: lime
RGB
12, 204, 12
HSL
120°, 89%, 42%
CMYK
94, 0, 94, 20
Luminance
0.4329
Every format
| HEX | #0ccc0c |
| RGB | rgb(12, 204, 12) |
| HSL | hsl(120, 89%, 42%) |
| CMYK | cmyk(94%, 0%, 94%, 20%) |
| LAB | lab(71.8 -72.1 69.1) |
| LCH | lch(71.8 99.9 136.2) |
| OKLCH | oklch(0.733 0.247 142.5) |
Copy-ready code
/* CSS */
color: #0ccc0c;
background-color: #0ccc0c;
/* Tailwind (arbitrary) */
class="text-[#0ccc0c] bg-[#0ccc0c]"
/* SCSS */
$brand: #0ccc0c;
/* SwiftUI */
Color(red: 0.047, green: 0.800, blue: 0.047)
/* Android */
Color.parseColor("#0ccc0c")Accessibility — WCAG contrast
Aa
#0ccc0c on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0ccc0c on black: 9.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green80.0%
Blue4.7%
CMYK percentages
Cyan94.1%
Magenta0.0%
Yellow94.1%
Key (black)20.0%
Color previews
#0ccc0c text on a black background
contrast 9.66:1
Card sample
#0ccc0c text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0ccc0c;
Background color
Panel with #0ccc0c background
background-color: #0ccc0c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0ccc0c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 204, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 204, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0ccc0c; background: linear-gradient(135deg, #0ccc0c, #0CCC8C);