Skip to content

#2fcc4f

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

RGB
47, 204, 79
HSL
132°, 63%, 49%
CMYK
77, 0, 61, 20
Luminance
0.4435

Every format

HEX#2fcc4f
RGBrgb(47, 204, 79)
HSLhsl(132, 63%, 49%)
CMYKcmyk(77%, 0%, 61%, 20%)
LABlab(72.5 -64.5 50.0)
LCHlch(72.5 81.6 142.2)
OKLCHoklch(0.741 0.210 146.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fcc4f on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#2fcc4f on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green80.0%
Blue31.0%

CMYK percentages

Cyan77.0%
Magenta0.0%
Yellow61.3%
Key (black)20.0%

Color previews

#2fcc4f text on a black background

contrast 9.87:1

Card sample

#2fcc4f text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fcc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fcc4f in the Color Lab