Skip to content

#2dda7f

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

RGB
45, 218, 127
HSL
148°, 70%, 52%
CMYK
79, 0, 42, 15
Luminance
0.5223

Every format

HEX#2dda7f
RGBrgb(45, 218, 127)
HSLhsl(148, 70%, 52%)
CMYKcmyk(79%, 0%, 42%, 15%)
LABlab(77.4 -62.3 33.0)
LCHlch(77.4 70.5 152.1)
OKLCHoklch(0.784 0.186 154.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dda7f on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#2dda7f on black: 11.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green85.5%
Blue49.8%

CMYK percentages

Cyan79.4%
Magenta0.0%
Yellow41.7%
Key (black)14.5%

Color previews

#2dda7f text on a black background

contrast 11.45:1

Card sample

#2dda7f text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dda7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dda7f in the Color Lab