Skip to content

#9cdf30

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

RGB
156, 223, 48
HSL
83°, 73%, 53%
CMYK
30, 0, 79, 13
Luminance
0.6006

Every format

HEX#9cdf30
RGBrgb(156, 223, 48)
HSLhsl(83, 73%, 53%)
CMYKcmyk(30%, 0%, 79%, 13%)
LABlab(81.9 -45.2 72.2)
LCHlch(81.9 85.2 122.0)
OKLCHoklch(0.829 0.205 129.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red61.2%
Green87.5%
Blue18.8%

CMYK percentages

Cyan30.0%
Magenta0.0%
Yellow78.5%
Key (black)12.5%

Color previews

#9cdf30 text on a black background

contrast 13.01:1

Card sample

#9cdf30 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(156, 223, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 223, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9cdf30;
background: linear-gradient(135deg, #9cdf30, #30DF39);

Monochromatic scale

Palettes built from #9cdf30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9cdf30 in the Color Lab