Skip to content

#2fec4f

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

RGB
47, 236, 79
HSL
130°, 83%, 56%
CMYK
80, 0, 67, 8
Luminance
0.6116

Every format

HEX#2fec4f
RGBrgb(47, 236, 79)
HSLhsl(130, 83%, 56%)
CMYKcmyk(80%, 0%, 67%, 8%)
LABlab(82.5 -74.5 61.1)
LCHlch(82.5 96.3 140.7)
OKLCHoklch(0.824 0.245 145.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fec4f on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#2fec4f on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green92.5%
Blue31.0%

CMYK percentages

Cyan80.1%
Magenta0.0%
Yellow66.5%
Key (black)7.5%

Color previews

#2fec4f text on a black background

contrast 13.23:1

Card sample

#2fec4f text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fec4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fec4f in the Color Lab