#2fff0c
a balanced, electric green · cool · closest name: lime
RGB
47, 255, 12
HSL
111°, 100%, 52%
CMYK
82, 0, 95, 0
Luminance
0.7215
Every format
| HEX | #2fff0c |
| RGB | rgb(47, 255, 12) |
| HSL | hsl(111, 100%, 52%) |
| CMYK | cmyk(82%, 0%, 95%, 0%) |
| LAB | lab(88.0 -83.4 82.6) |
| LCH | lch(88.0 117.4 135.3) |
| OKLCH | oklch(0.870 0.289 141.8) |
Copy-ready code
/* CSS */
color: #2fff0c;
background-color: #2fff0c;
/* Tailwind (arbitrary) */
class="text-[#2fff0c] bg-[#2fff0c]"
/* SCSS */
$brand: #2fff0c;
/* SwiftUI */
Color(red: 0.184, green: 1.000, blue: 0.047)
/* Android */
Color.parseColor("#2fff0c")Accessibility — WCAG contrast
Aa
#2fff0c on white: 1.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2fff0c on black: 15.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green100.0%
Blue4.7%
CMYK percentages
Cyan81.6%
Magenta0.0%
Yellow95.3%
Key (black)0.0%
Color previews
#2fff0c text on a black background
contrast 15.43:1
Card sample
#2fff0c text on a white background
contrast 1.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2fff0c;
Background color
Panel with #2fff0c background
background-color: #2fff0c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2fff0c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 255, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 255, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fff0c; background: linear-gradient(135deg, #2fff0c, #0CFF8B);