Skip to content

#2ec97f

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

RGB
46, 201, 127
HSL
151°, 63%, 48%
CMYK
77, 0, 37, 21
Luminance
0.4389

Every format

HEX#2ec97f
RGBrgb(46, 201, 127)
HSLhsl(151, 63%, 48%)
CMYKcmyk(77%, 0%, 37%, 21%)
LABlab(72.2 -56.0 26.1)
LCHlch(72.2 61.8 155.1)
OKLCHoklch(0.741 0.165 156.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ec97f on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#2ec97f on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green78.8%
Blue49.8%

CMYK percentages

Cyan77.1%
Magenta0.0%
Yellow36.8%
Key (black)21.2%

Color previews

#2ec97f text on a black background

contrast 9.78:1

Card sample

#2ec97f text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ec97f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ec97f in the Color Lab