Skip to content

#2ffb2c

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

RGB
47, 251, 44
HSL
119°, 96%, 58%
CMYK
81, 0, 83, 2
Luminance
0.6978

Every format

HEX#2ffb2c
RGBrgb(47, 251, 44)
HSLhsl(119, 96%, 58%)
CMYKcmyk(81%, 0%, 83%, 2%)
LABlab(86.9 -81.3 76.6)
LCHlch(86.9 111.7 136.7)
OKLCHoklch(0.861 0.278 142.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ffb2c on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#2ffb2c on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green98.4%
Blue17.3%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow82.5%
Key (black)1.6%

Color previews

#2ffb2c text on a black background

contrast 14.96:1

Card sample

#2ffb2c text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ffb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ffb2c in the Color Lab