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