Skip to content

#2df27e

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

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

Every format

HEX#2df27e
RGBrgb(45, 242, 126)
HSLhsl(145, 88%, 56%)
CMYKcmyk(81%, 0%, 48%, 5%)
LABlab(84.8 -70.6 42.9)
LCHlch(84.8 82.7 148.7)
OKLCHoklch(0.845 0.216 151.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.6%
Green94.9%
Blue49.4%

CMYK percentages

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

Color previews

#2df27e text on a black background

contrast 14.11:1

Card sample

#2df27e text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2df27e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df27e in the Color Lab