Skip to content

#2fab49

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

RGB
47, 171, 73
HSL
133°, 57%, 43%
CMYK
73, 0, 57, 33
Luminance
0.3021

Every format

HEX#2fab49
RGBrgb(47, 171, 73)
HSLhsl(133, 57%, 43%)
CMYKcmyk(73%, 0%, 57%, 33%)
LABlab(61.8 -54.1 40.4)
LCHlch(61.8 67.5 143.3)
OKLCHoklch(0.653 0.175 146.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fab49 on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#2fab49 on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green67.1%
Blue28.6%

CMYK percentages

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

Color previews

#2fab49 text on a black background

contrast 7.04:1

Card sample

#2fab49 text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fab49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fab49 in the Color Lab