Skip to content

#2ff02a

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

RGB
47, 240, 42
HSL
119°, 87%, 55%
CMYK
80, 0, 83, 6
Luminance
0.6309

Every format

HEX#2ff02a
RGBrgb(47, 240, 42)
HSLhsl(119, 87%, 55%)
CMYKcmyk(80%, 0%, 83%, 6%)
LABlab(83.5 -78.3 74.0)
LCHlch(83.5 107.7 136.6)
OKLCHoklch(0.832 0.268 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ff02a on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#2ff02a on black: 13.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green94.1%
Blue16.5%

CMYK percentages

Cyan80.4%
Magenta0.0%
Yellow82.5%
Key (black)5.9%

Color previews

#2ff02a text on a black background

contrast 13.62:1

Card sample

#2ff02a text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ff02a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ff02a in the Color Lab