Skip to content

#56ef21

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

RGB
86, 239, 33
HSL
105°, 87%, 53%
CMYK
64, 0, 86, 6
Luminance
0.6382

Every format

HEX#56ef21
RGBrgb(86, 239, 33)
HSLhsl(105, 87%, 53%)
CMYKcmyk(64%, 0%, 86%, 6%)
LABlab(83.9 -72.2 76.5)
LCHlch(83.9 105.2 133.3)
OKLCHoklch(0.837 0.260 139.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#56ef21 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#56ef21 on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green93.7%
Blue12.9%

CMYK percentages

Cyan64.0%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#56ef21 text on a black background

contrast 13.76:1

Card sample

#56ef21 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #56ef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #56ef21 in the Color Lab