#98ef21
a balanced, electric green · cool · closest name: lime
RGB
152, 239, 33
HSL
85°, 87%, 53%
CMYK
36, 0, 86, 6
Luminance
0.6852
Every format
| HEX | #98ef21 |
| RGB | rgb(152, 239, 33) |
| HSL | hsl(85, 87%, 53%) |
| CMYK | cmyk(36%, 0%, 86%, 6%) |
| LAB | lab(86.3 -53.7 79.5) |
| LCH | lch(86.3 96.0 124.0) |
| OKLCH | oklch(0.864 0.231 131.6) |
Copy-ready code
/* CSS */
color: #98ef21;
background-color: #98ef21;
/* Tailwind (arbitrary) */
class="text-[#98ef21] bg-[#98ef21]"
/* SCSS */
$brand: #98ef21;
/* SwiftUI */
Color(red: 0.596, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#98ef21")Accessibility — WCAG contrast
Aa
#98ef21 on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#98ef21 on black: 14.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red59.6%
Green93.7%
Blue12.9%
CMYK percentages
Cyan36.4%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#98ef21 text on a black background
contrast 14.70:1
Card sample
#98ef21 text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #98ef21;
Background color
Panel with #98ef21 background
background-color: #98ef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #98ef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(152, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #98ef21; background: linear-gradient(135deg, #98ef21, #21EF33);