Skip to content

#9fdf7b

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

RGB
159, 223, 123
HSL
98°, 61%, 68%
CMYK
29, 0, 45, 13
Luminance
0.6158

Every format

HEX#9fdf7b
RGBrgb(159, 223, 123)
HSLhsl(98, 61%, 68%)
CMYKcmyk(29%, 0%, 45%, 13%)
LABlab(82.7 -37.8 42.5)
LCHlch(82.7 56.9 131.6)
OKLCHoklch(0.838 0.147 135.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red62.4%
Green87.5%
Blue48.2%

CMYK percentages

Cyan28.7%
Magenta0.0%
Yellow44.8%
Key (black)12.5%

Color previews

#9fdf7b text on a black background

contrast 13.32:1

Card sample

#9fdf7b text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9fdf7b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fdf7b in the Color Lab