Skip to content

#56ff21

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

RGB
86, 255, 33
HSL
106°, 100%, 57%
CMYK
66, 0, 87, 0
Luminance
0.7361

Every format

HEX#56ff21
RGBrgb(86, 255, 33)
HSLhsl(106, 100%, 57%)
CMYKcmyk(66%, 0%, 87%, 0%)
LABlab(88.7 -77.2 80.7)
LCHlch(88.7 111.7 133.7)
OKLCHoklch(0.878 0.275 140.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red33.7%
Green100.0%
Blue12.9%

CMYK percentages

Cyan66.3%
Magenta0.0%
Yellow87.1%
Key (black)0.0%

Color previews

#56ff21 text on a black background

contrast 15.72:1

Card sample

#56ff21 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #56ff21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #56ff21 in the Color Lab