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