Skip to content

#54c921

a balanced, vivid green · cool · closest name: green

RGB
84, 201, 33
HSL
102°, 72%, 46%
CMYK
58, 0, 84, 21
Luminance
0.4377

Every format

HEX#54c921
RGBrgb(84, 201, 33)
HSLhsl(102, 72%, 46%)
CMYKcmyk(58%, 0%, 84%, 21%)
LABlab(72.1 -60.0 66.1)
LCHlch(72.1 89.3 132.2)
OKLCHoklch(0.740 0.220 138.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#54c921 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#54c921 on black: 9.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.9%
Green78.8%
Blue12.9%

CMYK percentages

Cyan58.2%
Magenta0.0%
Yellow83.6%
Key (black)21.2%

Color previews

#54c921 text on a black background

contrast 9.75:1

Card sample

#54c921 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #54c921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #54c921 in the Color Lab