Skip to content

#2fd90c

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

RGB
47, 217, 12
HSL
110°, 90%, 45%
CMYK
78, 0, 95, 15
Luminance
0.5026

Every format

HEX#2fd90c
RGBrgb(47, 217, 12)
HSLhsl(110, 90%, 45%)
CMYKcmyk(78%, 0%, 95%, 15%)
LABlab(76.2 -72.7 73.0)
LCHlch(76.2 103.0 134.9)
OKLCHoklch(0.771 0.254 141.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fd90c on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#2fd90c on black: 11.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green85.1%
Blue4.7%

CMYK percentages

Cyan78.3%
Magenta0.0%
Yellow94.5%
Key (black)14.9%

Color previews

#2fd90c text on a black background

contrast 11.05:1

Card sample

#2fd90c text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2fd90c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fd90c in the Color Lab