Skip to content

#2df27f

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

RGB
45, 242, 127
HSL
145°, 88%, 56%
CMYK
81, 0, 48, 5
Luminance
0.6559

Every format

HEX#2df27f
RGBrgb(45, 242, 127)
HSLhsl(145, 88%, 56%)
CMYKcmyk(81%, 0%, 48%, 5%)
LABlab(84.8 -70.5 42.5)
LCHlch(84.8 82.3 148.9)
OKLCHoklch(0.845 0.216 151.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2df27f on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#2df27f on black: 14.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green94.9%
Blue49.8%

CMYK percentages

Cyan81.4%
Magenta0.0%
Yellow47.5%
Key (black)5.1%

Color previews

#2df27f text on a black background

contrast 14.12:1

Card sample

#2df27f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2df27f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df27f in the Color Lab