Skip to content

#2df56d

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

RGB
45, 245, 109
HSL
139°, 91%, 57%
CMYK
82, 0, 56, 4
Luminance
0.6697

Every format

HEX#2df56d
RGBrgb(45, 245, 109)
HSLhsl(139, 91%, 57%)
CMYKcmyk(82%, 0%, 56%, 4%)
LABlab(85.5 -74.0 51.8)
LCHlch(85.5 90.3 145.0)
OKLCHoklch(0.850 0.234 148.2)

Copy-ready code

/* CSS */
color: #2df56d;
background-color: #2df56d;
/* Tailwind (arbitrary) */
class="text-[#2df56d] bg-[#2df56d]"
/* SCSS */
$brand: #2df56d;
/* SwiftUI */
Color(red: 0.176, green: 0.961, blue: 0.427)
/* Android */
Color.parseColor("#2df56d")

Accessibility — WCAG contrast

Aa
#2df56d on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#2df56d on black: 14.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green96.1%
Blue42.7%

CMYK percentages

Cyan81.6%
Magenta0.0%
Yellow55.5%
Key (black)3.9%

Color previews

#2df56d text on a black background

contrast 14.39:1

Card sample

#2df56d text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2df56d;
Background color
Panel with #2df56d background
background-color: #2df56d;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 245, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 245, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2df56d;
background: linear-gradient(135deg, #2df56d, #2DF5F2);

Monochromatic scale

Palettes built from #2df56d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df56d in the Color Lab