#a8ef21
a balanced, electric green · cool · closest name: yellow
RGB
168, 239, 33
HSL
81°, 87%, 53%
CMYK
30, 0, 86, 6
Luminance
0.7017
Every format
| HEX | #a8ef21 |
| RGB | rgb(168, 239, 33) |
| HSL | hsl(81, 87%, 53%) |
| CMYK | cmyk(30%, 0%, 86%, 6%) |
| LAB | lab(87.1 -48.1 80.5) |
| LCH | lch(87.1 93.8 120.9) |
| OKLCH | oklch(0.872 0.223 128.5) |
Copy-ready code
/* CSS */
color: #a8ef21;
background-color: #a8ef21;
/* Tailwind (arbitrary) */
class="text-[#a8ef21] bg-[#a8ef21]"
/* SCSS */
$brand: #a8ef21;
/* SwiftUI */
Color(red: 0.659, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#a8ef21")Accessibility — WCAG contrast
Aa
#a8ef21 on white: 1.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a8ef21 on black: 15.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green93.7%
Blue12.9%
CMYK percentages
Cyan29.7%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#a8ef21 text on a black background
contrast 15.03:1
Card sample
#a8ef21 text on a white background
contrast 1.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a8ef21;
Background color
Panel with #a8ef21 background
background-color: #a8ef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a8ef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a8ef21; background: linear-gradient(135deg, #a8ef21, #21EF23);