Skip to content

#2ff062

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

RGB
47, 240, 98
HSL
136°, 87%, 56%
CMYK
80, 0, 59, 6
Luminance
0.6381

Every format

HEX#2ff062
RGBrgb(47, 240, 98)
HSLhsl(136, 87%, 56%)
CMYKcmyk(80%, 0%, 59%, 6%)
LABlab(83.9 -73.7 54.7)
LCHlch(83.9 91.8 143.4)
OKLCHoklch(0.837 0.236 146.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ff062 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#2ff062 on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green94.1%
Blue38.4%

CMYK percentages

Cyan80.4%
Magenta0.0%
Yellow59.2%
Key (black)5.9%

Color previews

#2ff062 text on a black background

contrast 13.76:1

Card sample

#2ff062 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ff062

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ff062 in the Color Lab