#2def2c
a balanced, electric green · cool · closest name: lime
RGB
45, 239, 44
HSL
120°, 86%, 56%
CMYK
81, 0, 82, 6
Luminance
0.6247
Every format
| HEX | #2def2c |
| RGB | rgb(45, 239, 44) |
| HSL | hsl(120, 86%, 56%) |
| CMYK | cmyk(81%, 0%, 82%, 6%) |
| LAB | lab(83.2 -78.1 73.2) |
| LCH | lch(83.2 107.0 136.9) |
| OKLCH | oklch(0.829 0.267 142.7) |
Copy-ready code
/* CSS */
color: #2def2c;
background-color: #2def2c;
/* Tailwind (arbitrary) */
class="text-[#2def2c] bg-[#2def2c]"
/* SCSS */
$brand: #2def2c;
/* SwiftUI */
Color(red: 0.176, green: 0.937, blue: 0.173)
/* Android */
Color.parseColor("#2def2c")Accessibility — WCAG contrast
Aa
#2def2c on white: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2def2c on black: 13.49:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.6%
Green93.7%
Blue17.3%
CMYK percentages
Cyan81.2%
Magenta0.0%
Yellow81.6%
Key (black)6.3%
Color previews
#2def2c text on a black background
contrast 13.49:1
Card sample
#2def2c text on a white background
contrast 1.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2def2c;
Background color
Panel with #2def2c background
background-color: #2def2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2def2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(45, 239, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 239, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2def2c; background: linear-gradient(135deg, #2def2c, #2CEFAD);