Skip to content

#9fdf2f

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

RGB
159, 223, 47
HSL
82°, 73%, 53%
CMYK
29, 0, 79, 13
Luminance
0.6035

Every format

HEX#9fdf2f
RGBrgb(159, 223, 47)
HSLhsl(82, 73%, 53%)
CMYKcmyk(29%, 0%, 79%, 13%)
LABlab(82.0 -44.1 72.7)
LCHlch(82.0 85.0 121.3)
OKLCHoklch(0.830 0.204 128.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red62.4%
Green87.5%
Blue18.4%

CMYK percentages

Cyan28.7%
Magenta0.0%
Yellow78.9%
Key (black)12.5%

Color previews

#9fdf2f text on a black background

contrast 13.07:1

Card sample

#9fdf2f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9fdf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fdf2f in the Color Lab