Skip to content

#2fab6d

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

RGB
47, 171, 109
HSL
150°, 57%, 43%
CMYK
73, 0, 36, 33
Luminance
0.3083

Every format

HEX#2fab6d
RGBrgb(47, 171, 109)
HSLhsl(150, 57%, 43%)
CMYKcmyk(73%, 0%, 36%, 33%)
LABlab(62.4 -48.0 22.5)
LCHlch(62.4 53.0 154.9)
OKLCHoklch(0.659 0.142 156.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fab6d on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#2fab6d on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green67.1%
Blue42.7%

CMYK percentages

Cyan72.5%
Magenta0.0%
Yellow36.3%
Key (black)32.9%

Color previews

#2fab6d text on a black background

contrast 7.17:1

Card sample

#2fab6d text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 171, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 171, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fab6d;
background: linear-gradient(135deg, #2fab6d, #2F96AB);

Monochromatic scale

Palettes built from #2fab6d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fab6d in the Color Lab