#8ef821
a balanced, electric green · cool · closest name: lime
RGB
142, 248, 33
HSL
90°, 94%, 55%
CMYK
43, 0, 87, 3
Luminance
0.7300
Every format
| HEX | #8ef821 |
| RGB | rgb(142, 248, 33) |
| HSL | hsl(90, 94%, 55%) |
| CMYK | cmyk(43%, 0%, 87%, 3%) |
| LAB | lab(88.4 -60.5 81.2) |
| LCH | lch(88.4 101.3 126.7) |
| OKLCH | oklch(0.880 0.245 134.0) |
Copy-ready code
/* CSS */
color: #8ef821;
background-color: #8ef821;
/* Tailwind (arbitrary) */
class="text-[#8ef821] bg-[#8ef821]"
/* SCSS */
$brand: #8ef821;
/* SwiftUI */
Color(red: 0.557, green: 0.973, blue: 0.129)
/* Android */
Color.parseColor("#8ef821")Accessibility — WCAG contrast
Aa
#8ef821 on white: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8ef821 on black: 15.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red55.7%
Green97.3%
Blue12.9%
CMYK percentages
Cyan42.7%
Magenta0.0%
Yellow86.7%
Key (black)2.7%
Color previews
#8ef821 text on a black background
contrast 15.60:1
Card sample
#8ef821 text on a white background
contrast 1.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8ef821;
Background color
Panel with #8ef821 background
background-color: #8ef821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8ef821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(142, 248, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 248, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ef821; background: linear-gradient(135deg, #8ef821, #21F843);