#8ef221
a balanced, electric green · cool · closest name: lime
RGB
142, 242, 33
HSL
89°, 89%, 54%
CMYK
41, 0, 86, 5
Luminance
0.6936
Every format
| HEX | #8ef221 |
| RGB | rgb(142, 242, 33) |
| HSL | hsl(89, 89%, 54%) |
| CMYK | cmyk(41%, 0%, 86%, 5%) |
| LAB | lab(86.7 -58.2 79.7) |
| LCH | lch(86.7 98.7 126.1) |
| OKLCH | oklch(0.866 0.239 133.5) |
Copy-ready code
/* CSS */
color: #8ef221;
background-color: #8ef221;
/* Tailwind (arbitrary) */
class="text-[#8ef221] bg-[#8ef221]"
/* SCSS */
$brand: #8ef221;
/* SwiftUI */
Color(red: 0.557, green: 0.949, blue: 0.129)
/* Android */
Color.parseColor("#8ef221")Accessibility — WCAG contrast
Aa
#8ef221 on white: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8ef221 on black: 14.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red55.7%
Green94.9%
Blue12.9%
CMYK percentages
Cyan41.3%
Magenta0.0%
Yellow86.4%
Key (black)5.1%
Color previews
#8ef221 text on a black background
contrast 14.87:1
Card sample
#8ef221 text on a white background
contrast 1.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8ef221;
Background color
Panel with #8ef221 background
background-color: #8ef221;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8ef221;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(142, 242, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 242, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ef221; background: linear-gradient(135deg, #8ef221, #21F23F);