Skip to content

#9fd921

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

RGB
159, 217, 33
HSL
79°, 74%, 49%
CMYK
27, 0, 85, 15
Luminance
0.5711

Every format

HEX#9fd921
RGBrgb(159, 217, 33)
HSLhsl(79, 74%, 49%)
CMYKcmyk(27%, 0%, 85%, 15%)
LABlab(80.2 -42.1 74.5)
LCHlch(80.2 85.6 119.4)
OKLCHoklch(0.816 0.203 127.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9fd921 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#9fd921 on black: 12.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green85.1%
Blue12.9%

CMYK percentages

Cyan26.7%
Magenta0.0%
Yellow84.8%
Key (black)14.9%

Color previews

#9fd921 text on a black background

contrast 12.42:1

Card sample

#9fd921 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 217, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 217, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fd921;
background: linear-gradient(135deg, #9fd921, #24D921);

Monochromatic scale

Palettes built from #9fd921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9fd921 in the Color Lab