#0cf07c
a balanced, electric green · cool · closest name: forestgreen
RGB
12, 240, 124
HSL
150°, 91%, 49%
CMYK
95, 0, 48, 6
Luminance
0.6385
Every format
| HEX | #0cf07c |
| RGB | rgb(12, 240, 124) |
| HSL | hsl(150, 91%, 49%) |
| CMYK | cmyk(95%, 0%, 48%, 6%) |
| LAB | lab(83.9 -72.3 42.7) |
| LCH | lch(83.9 84.0 149.4) |
| OKLCH | oklch(0.837 0.220 151.7) |
Copy-ready code
/* CSS */
color: #0cf07c;
background-color: #0cf07c;
/* Tailwind (arbitrary) */
class="text-[#0cf07c] bg-[#0cf07c]"
/* SCSS */
$brand: #0cf07c;
/* SwiftUI */
Color(red: 0.047, green: 0.941, blue: 0.486)
/* Android */
Color.parseColor("#0cf07c")Accessibility — WCAG contrast
Aa
#0cf07c on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0cf07c on black: 13.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green94.1%
Blue48.6%
CMYK percentages
Cyan95.0%
Magenta0.0%
Yellow48.3%
Key (black)5.9%
Color previews
#0cf07c text on a black background
contrast 13.77:1
Card sample
#0cf07c text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0cf07c;
Background color
Panel with #0cf07c background
background-color: #0cf07c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0cf07c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 240, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 240, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cf07c; background: linear-gradient(135deg, #0cf07c, #0CCCF0);