Skip to content

#2fac4b

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

RGB
47, 172, 75
HSL
133°, 57%, 43%
CMYK
73, 0, 56, 33
Luminance
0.3062

Every format

HEX#2fac4b
RGBrgb(47, 172, 75)
HSLhsl(133, 57%, 43%)
CMYKcmyk(73%, 0%, 56%, 33%)
LABlab(62.2 -54.2 39.8)
LCHlch(62.2 67.3 143.7)
OKLCHoklch(0.656 0.174 147.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fac4b on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#2fac4b on black: 7.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green67.5%
Blue29.4%

CMYK percentages

Cyan72.7%
Magenta0.0%
Yellow56.4%
Key (black)32.5%

Color previews

#2fac4b text on a black background

contrast 7.12:1

Card sample

#2fac4b text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fac4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fac4b in the Color Lab