Skip to content

#2fcc5f

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

RGB
47, 204, 95
HSL
138°, 63%, 49%
CMYK
77, 0, 53, 20
Luminance
0.4462

Every format

HEX#2fcc5f
RGBrgb(47, 204, 95)
HSLhsl(138, 63%, 49%)
CMYKcmyk(77%, 0%, 53%, 20%)
LABlab(72.6 -62.4 42.8)
LCHlch(72.6 75.7 145.6)
OKLCHoklch(0.743 0.197 148.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fcc5f on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#2fcc5f on black: 9.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green80.0%
Blue37.3%

CMYK percentages

Cyan77.0%
Magenta0.0%
Yellow53.4%
Key (black)20.0%

Color previews

#2fcc5f text on a black background

contrast 9.92:1

Card sample

#2fcc5f text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fcc5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fcc5f in the Color Lab