Skip to content

#2ff20f

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

RGB
47, 242, 15
HSL
112°, 90%, 50%
CMYK
81, 0, 94, 5
Luminance
0.6414

Every format

HEX#2ff20f
RGBrgb(47, 242, 15)
HSLhsl(112, 90%, 50%)
CMYKcmyk(81%, 0%, 94%, 5%)
LABlab(84.0 -79.8 79.1)
LCHlch(84.0 112.3 135.2)
OKLCHoklch(0.837 0.277 141.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ff20f on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#2ff20f on black: 13.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green94.9%
Blue5.9%

CMYK percentages

Cyan80.6%
Magenta0.0%
Yellow93.8%
Key (black)5.1%

Color previews

#2ff20f text on a black background

contrast 13.83:1

Card sample

#2ff20f text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ff20f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ff20f in the Color Lab