Skip to content

#9df402

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

RGB
157, 244, 2
HSL
82°, 98%, 48%
CMYK
36, 0, 99, 4
Luminance
0.7187

Every format

HEX#9df402
RGBrgb(157, 244, 2)
HSLhsl(82, 98%, 48%)
CMYKcmyk(36%, 0%, 99%, 4%)
LABlab(87.9 -54.6 84.6)
LCHlch(87.9 100.7 122.8)
OKLCHoklch(0.878 0.239 130.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9df402 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#9df402 on black: 15.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green95.7%
Blue0.8%

CMYK percentages

Cyan35.7%
Magenta0.0%
Yellow99.2%
Key (black)4.3%

Color previews

#9df402 text on a black background

contrast 15.37:1

Card sample

#9df402 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 244, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 244, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9df402;
background: linear-gradient(135deg, #9df402, #02F408);

Monochromatic scale

Palettes built from #9df402

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9df402 in the Color Lab