Skip to content

#9fdf0f

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

RGB
159, 223, 15
HSL
79°, 87%, 47%
CMYK
29, 0, 93, 13
Luminance
0.6018

Every format

HEX#9fdf0f
RGBrgb(159, 223, 15)
HSLhsl(79, 87%, 47%)
CMYKcmyk(29%, 0%, 93%, 13%)
LABlab(81.9 -45.0 78.9)
LCHlch(81.9 90.8 119.7)
OKLCHoklch(0.829 0.214 127.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red62.4%
Green87.5%
Blue5.9%

CMYK percentages

Cyan28.7%
Magenta0.0%
Yellow93.3%
Key (black)12.5%

Color previews

#9fdf0f text on a black background

contrast 13.04:1

Card sample

#9fdf0f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9fdf0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fdf0f in the Color Lab