Skip to content

#2fdf0c

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

RGB
47, 223, 12
HSL
110°, 90%, 46%
CMYK
79, 0, 95, 13
Luminance
0.5341

Every format

HEX#2fdf0c
RGBrgb(47, 223, 12)
HSLhsl(110, 90%, 46%)
CMYKcmyk(79%, 0%, 95%, 13%)
LABlab(78.1 -74.5 74.5)
LCHlch(78.1 105.3 135.0)
OKLCHoklch(0.787 0.259 141.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fdf0c on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#2fdf0c on black: 11.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green87.5%
Blue4.7%

CMYK percentages

Cyan78.9%
Magenta0.0%
Yellow94.6%
Key (black)12.5%

Color previews

#2fdf0c text on a black background

contrast 11.68:1

Card sample

#2fdf0c text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fdf0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fdf0c in the Color Lab