Skip to content

#2fcc1f

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

RGB
47, 204, 31
HSL
115°, 74%, 46%
CMYK
77, 0, 85, 20
Luminance
0.4389

Every format

HEX#2fcc1f
RGBrgb(47, 204, 31)
HSLhsl(115, 74%, 46%)
CMYKcmyk(77%, 0%, 85%, 20%)
LABlab(72.2 -68.3 66.3)
LCHlch(72.2 95.2 135.9)
OKLCHoklch(0.738 0.236 141.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fcc1f on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#2fcc1f on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green80.0%
Blue12.2%

CMYK percentages

Cyan77.0%
Magenta0.0%
Yellow84.8%
Key (black)20.0%

Color previews

#2fcc1f text on a black background

contrast 9.78:1

Card sample

#2fcc1f text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fcc1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fcc1f in the Color Lab