Skip to content

#2dff7f

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

RGB
45, 255, 127
HSL
143°, 100%, 59%
CMYK
82, 0, 50, 0
Luminance
0.7361

Every format

HEX#2dff7f
RGBrgb(45, 255, 127)
HSLhsl(143, 100%, 59%)
CMYKcmyk(82%, 0%, 50%, 0%)
LABlab(88.7 -74.7 47.4)
LCHlch(88.7 88.5 147.6)
OKLCHoklch(0.878 0.231 150.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.6%
Green100.0%
Blue49.8%

CMYK percentages

Cyan82.4%
Magenta0.0%
Yellow50.2%
Key (black)0.0%

Color previews

#2dff7f text on a black background

contrast 15.72:1

Card sample

#2dff7f text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dff7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dff7f in the Color Lab