#54ef21
a balanced, electric green · cool · closest name: lime
RGB
84, 239, 33
HSL
105°, 87%, 53%
CMYK
65, 0, 86, 6
Luminance
0.6373
Every format
| HEX | #54ef21 |
| RGB | rgb(84, 239, 33) |
| HSL | hsl(105, 87%, 53%) |
| CMYK | cmyk(65%, 0%, 86%, 6%) |
| LAB | lab(83.8 -72.6 76.5) |
| LCH | lch(83.8 105.4 133.5) |
| OKLCH | oklch(0.837 0.260 140.0) |
Copy-ready code
/* CSS */
color: #54ef21;
background-color: #54ef21;
/* Tailwind (arbitrary) */
class="text-[#54ef21] bg-[#54ef21]"
/* SCSS */
$brand: #54ef21;
/* SwiftUI */
Color(red: 0.329, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#54ef21")Accessibility — WCAG contrast
Aa
#54ef21 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#54ef21 on black: 13.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green93.7%
Blue12.9%
CMYK percentages
Cyan64.9%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#54ef21 text on a black background
contrast 13.75:1
Card sample
#54ef21 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #54ef21;
Background color
Panel with #54ef21 background
background-color: #54ef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #54ef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #54ef21; background: linear-gradient(135deg, #54ef21, #21EF77);