#2ed40c
a dark, electric green · cool · closest name: lime
RGB
46, 212, 12
HSL
110°, 89%, 44%
CMYK
78, 0, 94, 17
Luminance
0.4769
Every format
| HEX | #2ed40c |
| RGB | rgb(46, 212, 12) |
| HSL | hsl(110, 89%, 44%) |
| CMYK | cmyk(78%, 0%, 94%, 17%) |
| LAB | lab(74.6 -71.4 71.6) |
| LCH | lch(74.6 101.2 134.9) |
| OKLCH | oklch(0.758 0.249 141.5) |
Copy-ready code
/* CSS */
color: #2ed40c;
background-color: #2ed40c;
/* Tailwind (arbitrary) */
class="text-[#2ed40c] bg-[#2ed40c]"
/* SCSS */
$brand: #2ed40c;
/* SwiftUI */
Color(red: 0.180, green: 0.831, blue: 0.047)
/* Android */
Color.parseColor("#2ed40c")Accessibility — WCAG contrast
Aa
#2ed40c on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2ed40c on black: 10.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.0%
Green83.1%
Blue4.7%
CMYK percentages
Cyan78.3%
Magenta0.0%
Yellow94.3%
Key (black)16.9%
Color previews
#2ed40c text on a black background
contrast 10.54:1
Card sample
#2ed40c text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2ed40c;
Background color
Panel with #2ed40c background
background-color: #2ed40c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2ed40c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(46, 212, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 212, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ed40c; background: linear-gradient(135deg, #2ed40c, #0CD46F);