Skip to content

#9fdf1d

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

RGB
159, 223, 29
HSL
80°, 77%, 49%
CMYK
29, 0, 87, 13
Luminance
0.6023

Every format

HEX#9fdf1d
RGBrgb(159, 223, 29)
HSLhsl(80, 77%, 49%)
CMYKcmyk(29%, 0%, 87%, 13%)
LABlab(82.0 -44.8 76.8)
LCHlch(82.0 88.9 120.2)
OKLCHoklch(0.830 0.210 128.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red62.4%
Green87.5%
Blue11.4%

CMYK percentages

Cyan28.7%
Magenta0.0%
Yellow87.0%
Key (black)12.5%

Color previews

#9fdf1d text on a black background

contrast 13.05:1

Card sample

#9fdf1d text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9fdf1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fdf1d in the Color Lab