Skip to content

#2fec27

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

RGB
47, 236, 39
HSL
118°, 84%, 54%
CMYK
80, 0, 84, 8
Luminance
0.6074

Every format

HEX#2fec27
RGBrgb(47, 236, 39)
HSLhsl(118, 84%, 54%)
CMYKcmyk(80%, 0%, 84%, 8%)
LABlab(82.2 -77.3 73.5)
LCHlch(82.2 106.7 136.4)
OKLCHoklch(0.822 0.265 142.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fec27 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#2fec27 on black: 13.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green92.5%
Blue15.3%

CMYK percentages

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

Color previews

#2fec27 text on a black background

contrast 13.15:1

Card sample

#2fec27 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fec27

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fec27 in the Color Lab