Skip to content

#9fdf78

a light, vivid green · cool · closest name: khaki

RGB
159, 223, 120
HSL
97°, 62%, 67%
CMYK
29, 0, 46, 13
Luminance
0.6150

Every format

HEX#9fdf78
RGBrgb(159, 223, 120)
HSLhsl(97, 62%, 67%)
CMYKcmyk(29%, 0%, 46%, 13%)
LABlab(82.7 -38.2 44.0)
LCHlch(82.7 58.2 131.0)
OKLCHoklch(0.837 0.149 134.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fdf78 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#9fdf78 on black: 13.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green87.5%
Blue47.1%

CMYK percentages

Cyan28.7%
Magenta0.0%
Yellow46.2%
Key (black)12.5%

Color previews

#9fdf78 text on a black background

contrast 13.30:1

Card sample

#9fdf78 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9fdf78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fdf78 in the Color Lab