Skip to content

#2ecc97

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

RGB
46, 204, 151
HSL
160°, 63%, 49%
CMYK
78, 0, 26, 20
Luminance
0.4600

Every format

HEX#2ecc97
RGBrgb(46, 204, 151)
HSLhsl(160, 63%, 49%)
CMYKcmyk(78%, 0%, 26%, 20%)
LABlab(73.5 -52.1 15.3)
LCHlch(73.5 54.3 163.7)
OKLCHoklch(0.754 0.148 164.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ecc97 on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#2ecc97 on black: 10.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green80.0%
Blue59.2%

CMYK percentages

Cyan77.5%
Magenta0.0%
Yellow26.0%
Key (black)20.0%

Color previews

#2ecc97 text on a black background

contrast 10.20:1

Card sample

#2ecc97 text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ecc97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ecc97 in the Color Lab