Skip to content

#2fac7f

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

RGB
47, 172, 127
HSL
158°, 57%, 43%
CMYK
73, 0, 26, 33
Luminance
0.3164

Every format

HEX#2fac7f
RGBrgb(47, 172, 127)
HSLhsl(158, 57%, 43%)
CMYKcmyk(73%, 0%, 26%, 33%)
LABlab(63.0 -44.5 13.6)
LCHlch(63.0 46.6 163.0)
OKLCHoklch(0.666 0.127 164.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fac7f on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#2fac7f on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green67.5%
Blue49.8%

CMYK percentages

Cyan72.7%
Magenta0.0%
Yellow26.2%
Key (black)32.5%

Color previews

#2fac7f text on a black background

contrast 7.33:1

Card sample

#2fac7f text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fac7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fac7f in the Color Lab