Skip to content

#9cda21

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

RGB
156, 218, 33
HSL
80°, 74%, 49%
CMYK
28, 0, 85, 15
Luminance
0.5732

Every format

HEX#9cda21
RGBrgb(156, 218, 33)
HSLhsl(80, 74%, 49%)
CMYKcmyk(28%, 0%, 85%, 15%)
LABlab(80.4 -43.6 74.6)
LCHlch(80.4 86.4 120.3)
OKLCHoklch(0.816 0.205 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9cda21 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#9cda21 on black: 12.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.2%
Green85.5%
Blue12.9%

CMYK percentages

Cyan28.4%
Magenta0.0%
Yellow84.9%
Key (black)14.5%

Color previews

#9cda21 text on a black background

contrast 12.46:1

Card sample

#9cda21 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9cda21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9cda21 in the Color Lab