Skip to content

#2ab27f

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

RGB
42, 178, 127
HSL
158°, 62%, 43%
CMYK
76, 0, 29, 30
Luminance
0.3387

Every format

HEX#2ab27f
RGBrgb(42, 178, 127)
HSLhsl(158, 62%, 43%)
CMYKcmyk(76%, 0%, 29%, 30%)
LABlab(64.8 -47.7 16.1)
LCHlch(64.8 50.3 161.3)
OKLCHoklch(0.680 0.137 162.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab27f on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#2ab27f on black: 7.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green69.8%
Blue49.8%

CMYK percentages

Cyan76.4%
Magenta0.0%
Yellow28.7%
Key (black)30.2%

Color previews

#2ab27f text on a black background

contrast 7.77:1

Card sample

#2ab27f text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab27f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ab27f in the Color Lab