Skip to content

#9fff2f

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

RGB
159, 255, 47
HSL
88°, 100%, 59%
CMYK
38, 0, 82, 0
Luminance
0.7910

Every format

HEX#9fff2f
RGBrgb(159, 255, 47)
HSLhsl(88, 100%, 59%)
CMYKcmyk(38%, 0%, 82%, 0%)
LABlab(91.3 -57.2 81.0)
LCHlch(91.3 99.2 125.2)
OKLCHoklch(0.906 0.240 132.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fff2f on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#9fff2f on black: 16.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green100.0%
Blue18.4%

CMYK percentages

Cyan37.6%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#9fff2f text on a black background

contrast 16.82:1

Card sample

#9fff2f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9fff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fff2f in the Color Lab