Skip to content

#9fdf28

a balanced, vivid green · cool · closest name: yellow

RGB
159, 223, 40
HSL
81°, 74%, 52%
CMYK
29, 0, 82, 13
Luminance
0.6030

Every format

HEX#9fdf28
RGBrgb(159, 223, 40)
HSLhsl(81, 74%, 52%)
CMYKcmyk(29%, 0%, 82%, 13%)
LABlab(82.0 -44.4 74.5)
LCHlch(82.0 86.7 120.8)
OKLCHoklch(0.830 0.207 128.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fdf28 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#9fdf28 on black: 13.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green87.5%
Blue15.7%

CMYK percentages

Cyan28.7%
Magenta0.0%
Yellow82.1%
Key (black)12.5%

Color previews

#9fdf28 text on a black background

contrast 13.06:1

Card sample

#9fdf28 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 223, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 223, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fdf28;
background: linear-gradient(135deg, #9fdf28, #28DF2B);

Monochromatic scale

Palettes built from #9fdf28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fdf28 in the Color Lab