Skip to content

#54ff21

a balanced, electric green · cool · closest name: lime

RGB
84, 255, 33
HSL
106°, 100%, 57%
CMYK
67, 0, 87, 0
Luminance
0.7351

Every format

HEX#54ff21
RGBrgb(84, 255, 33)
HSLhsl(106, 100%, 57%)
CMYKcmyk(67%, 0%, 87%, 0%)
LABlab(88.7 -77.5 80.7)
LCHlch(88.7 111.9 133.9)
OKLCHoklch(0.877 0.276 140.4)

Copy-ready code

/* CSS */
color: #54ff21;
background-color: #54ff21;
/* Tailwind (arbitrary) */
class="text-[#54ff21] bg-[#54ff21]"
/* SCSS */
$brand: #54ff21;
/* SwiftUI */
Color(red: 0.329, green: 1.000, blue: 0.129)
/* Android */
Color.parseColor("#54ff21")

Accessibility — WCAG contrast

Aa
#54ff21 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#54ff21 on black: 15.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green100.0%
Blue12.9%

CMYK percentages

Cyan67.1%
Magenta0.0%
Yellow87.1%
Key (black)0.0%

Color previews

#54ff21 text on a black background

contrast 15.70:1

Card sample

#54ff21 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #54ff21;
Background color
Panel with #54ff21 background
background-color: #54ff21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #54ff21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(84, 255, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 255, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #54ff21;
background: linear-gradient(135deg, #54ff21, #21FF82);

Monochromatic scale

Palettes built from #54ff21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #54ff21 in the Color Lab