#abef21
a balanced, electric green · cool · closest name: yellow
RGB
171, 239, 33
HSL
80°, 87%, 53%
CMYK
29, 0, 86, 6
Luminance
0.7050
Every format
| HEX | #abef21 |
| RGB | rgb(171, 239, 33) |
| HSL | hsl(80, 87%, 53%) |
| CMYK | cmyk(29%, 0%, 86%, 6%) |
| LAB | lab(87.2 -47.0 80.8) |
| LCH | lch(87.2 93.4 120.2) |
| OKLCH | oklch(0.874 0.221 127.9) |
Copy-ready code
/* CSS */
color: #abef21;
background-color: #abef21;
/* Tailwind (arbitrary) */
class="text-[#abef21] bg-[#abef21]"
/* SCSS */
$brand: #abef21;
/* SwiftUI */
Color(red: 0.671, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#abef21")Accessibility — WCAG contrast
Aa
#abef21 on white: 1.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abef21 on black: 15.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green93.7%
Blue12.9%
CMYK percentages
Cyan28.5%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#abef21 text on a black background
contrast 15.10:1
Card sample
#abef21 text on a white background
contrast 1.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abef21;
Background color
Panel with #abef21 background
background-color: #abef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abef21; background: linear-gradient(135deg, #abef21, #21EF21);