Skip to content

#9fdf50

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

RGB
159, 223, 80
HSL
87°, 69%, 59%
CMYK
29, 0, 64, 13
Luminance
0.6073

Every format

HEX#9fdf50
RGBrgb(159, 223, 80)
HSLhsl(87, 69%, 59%)
CMYKcmyk(29%, 0%, 64%, 13%)
LABlab(82.2 -42.2 61.5)
LCHlch(82.2 74.5 124.4)
OKLCHoklch(0.833 0.184 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fdf50 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#9fdf50 on black: 13.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green87.5%
Blue31.4%

CMYK percentages

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

Color previews

#9fdf50 text on a black background

contrast 13.15:1

Card sample

#9fdf50 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9fdf50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fdf50 in the Color Lab