Skip to content

#9afd2d

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

RGB
154, 253, 45
HSL
89°, 98%, 58%
CMYK
39, 0, 82, 1
Luminance
0.7731

Every format

HEX#9afd2d
RGBrgb(154, 253, 45)
HSLhsl(89, 98%, 58%)
CMYKcmyk(39%, 0%, 82%, 1%)
LABlab(90.5 -58.2 80.7)
LCHlch(90.5 99.5 125.8)
OKLCHoklch(0.898 0.241 133.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red60.4%
Green99.2%
Blue17.6%

CMYK percentages

Cyan39.1%
Magenta0.0%
Yellow82.2%
Key (black)0.8%

Color previews

#9afd2d text on a black background

contrast 16.46:1

Card sample

#9afd2d text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 253, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 253, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9afd2d;
background: linear-gradient(135deg, #9afd2d, #2DFD4B);

Monochromatic scale

Palettes built from #9afd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9afd2d in the Color Lab