Skip to content

#56ef1f

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

RGB
86, 239, 31
HSL
104°, 87%, 53%
CMYK
64, 0, 87, 6
Luminance
0.6381

Every format

HEX#56ef1f
RGBrgb(86, 239, 31)
HSLhsl(104, 87%, 53%)
CMYKcmyk(64%, 0%, 87%, 6%)
LABlab(83.9 -72.2 76.9)
LCHlch(83.9 105.5 133.2)
OKLCHoklch(0.837 0.260 139.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red33.7%
Green93.7%
Blue12.2%

CMYK percentages

Cyan64.0%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#56ef1f text on a black background

contrast 13.76:1

Card sample

#56ef1f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #56ef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #56ef1f in the Color Lab