#a2ef21
a balanced, electric green · cool · closest name: yellow
RGB
162, 239, 33
HSL
82°, 87%, 53%
CMYK
32, 0, 86, 6
Luminance
0.6952
Every format
| HEX | #a2ef21 |
| RGB | rgb(162, 239, 33) |
| HSL | hsl(82, 87%, 53%) |
| CMYK | cmyk(32%, 0%, 86%, 6%) |
| LAB | lab(86.8 -50.3 80.2) |
| LCH | lch(86.8 94.6 122.1) |
| OKLCH | oklch(0.869 0.226 129.7) |
Copy-ready code
/* CSS */
color: #a2ef21;
background-color: #a2ef21;
/* Tailwind (arbitrary) */
class="text-[#a2ef21] bg-[#a2ef21]"
/* SCSS */
$brand: #a2ef21;
/* SwiftUI */
Color(red: 0.635, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#a2ef21")Accessibility — WCAG contrast
Aa
#a2ef21 on white: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2ef21 on black: 14.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green93.7%
Blue12.9%
CMYK percentages
Cyan32.2%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#a2ef21 text on a black background
contrast 14.90:1
Card sample
#a2ef21 text on a white background
contrast 1.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2ef21;
Background color
Panel with #a2ef21 background
background-color: #a2ef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2ef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ef21; background: linear-gradient(135deg, #a2ef21, #21EF29);