Skip to content

#2ecf49

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

RGB
46, 207, 73
HSL
130°, 64%, 50%
CMYK
78, 0, 65, 19
Luminance
0.4569

Every format

HEX#2ecf49
RGBrgb(46, 207, 73)
HSLhsl(130, 64%, 50%)
CMYKcmyk(78%, 0%, 65%, 19%)
LABlab(73.3 -66.3 53.5)
LCHlch(73.3 85.2 141.1)
OKLCHoklch(0.748 0.218 145.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ecf49 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#2ecf49 on black: 10.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green81.2%
Blue28.6%

CMYK percentages

Cyan77.8%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#2ecf49 text on a black background

contrast 10.14:1

Card sample

#2ecf49 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ecf49;
background: linear-gradient(135deg, #2ecf49, #2ECFB4);

Monochromatic scale

Palettes built from #2ecf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ecf49 in the Color Lab