#abfc21
a balanced, electric green · cool · closest name: yellow
RGB
171, 252, 33
HSL
82°, 97%, 56%
CMYK
32, 0, 87, 1
Luminance
0.7839
Every format
| HEX | #abfc21 |
| RGB | rgb(171, 252, 33) |
| HSL | hsl(82, 97%, 56%) |
| CMYK | cmyk(32%, 0%, 87%, 1%) |
| LAB | lab(91.0 -52.4 83.9) |
| LCH | lch(91.0 98.9 122.0) |
| OKLCH | oklch(0.904 0.236 129.7) |
Copy-ready code
/* CSS */
color: #abfc21;
background-color: #abfc21;
/* Tailwind (arbitrary) */
class="text-[#abfc21] bg-[#abfc21]"
/* SCSS */
$brand: #abfc21;
/* SwiftUI */
Color(red: 0.671, green: 0.988, blue: 0.129)
/* Android */
Color.parseColor("#abfc21")Accessibility — WCAG contrast
Aa
#abfc21 on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abfc21 on black: 16.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green98.8%
Blue12.9%
CMYK percentages
Cyan32.1%
Magenta0.0%
Yellow86.9%
Key (black)1.2%
Color previews
#abfc21 text on a black background
contrast 16.68:1
Card sample
#abfc21 text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abfc21;
Background color
Panel with #abfc21 background
background-color: #abfc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abfc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abfc21; background: linear-gradient(135deg, #abfc21, #21FC29);