Skip to content

#9ffc2f

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

RGB
159, 252, 47
HSL
87°, 97%, 59%
CMYK
37, 0, 81, 1
Luminance
0.7720

Every format

HEX#9ffc2f
RGBrgb(159, 252, 47)
HSLhsl(87, 97%, 59%)
CMYKcmyk(37%, 0%, 81%, 1%)
LABlab(90.4 -56.1 80.2)
LCHlch(90.4 97.9 124.9)
OKLCHoklch(0.899 0.237 132.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9ffc2f on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#9ffc2f on black: 16.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green98.8%
Blue18.4%

CMYK percentages

Cyan36.9%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#9ffc2f text on a black background

contrast 16.44:1

Card sample

#9ffc2f text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9ffc2f;
Background color
Panel with #9ffc2f background
background-color: #9ffc2f;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9ffc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9ffc2f in the Color Lab