Skip to content

#9cec21

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

RGB
156, 236, 33
HSL
84°, 84%, 53%
CMYK
34, 0, 86, 8
Luminance
0.6717

Every format

HEX#9cec21
RGBrgb(156, 236, 33)
HSLhsl(84, 84%, 53%)
CMYKcmyk(34%, 0%, 86%, 8%)
LABlab(85.6 -51.1 79.0)
LCHlch(85.6 94.1 122.9)
OKLCHoklch(0.859 0.225 130.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9cec21 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#9cec21 on black: 14.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.2%
Green92.5%
Blue12.9%

CMYK percentages

Cyan33.9%
Magenta0.0%
Yellow86.0%
Key (black)7.5%

Color previews

#9cec21 text on a black background

contrast 14.43:1

Card sample

#9cec21 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(156, 236, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 236, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9cec21;
background: linear-gradient(135deg, #9cec21, #21EC2D);

Monochromatic scale

Palettes built from #9cec21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9cec21 in the Color Lab