Skip to content

#c9fc21

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

RGB
201, 252, 33
HSL
74°, 97%, 56%
CMYK
20, 0, 87, 1
Luminance
0.8215

Every format

HEX#c9fc21
RGBrgb(201, 252, 33)
HSLhsl(74, 97%, 56%)
CMYKcmyk(20%, 0%, 87%, 1%)
LABlab(92.6 -41.3 85.9)
LCHlch(92.6 95.4 115.7)
OKLCHoklch(0.923 0.222 123.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9fc21 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#c9fc21 on black: 17.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green98.8%
Blue12.9%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow86.9%
Key (black)1.2%

Color previews

#c9fc21 text on a black background

contrast 17.43:1

Card sample

#c9fc21 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 252, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 252, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9fc21;
background: linear-gradient(135deg, #c9fc21, #37FC21);

Monochromatic scale

Palettes built from #c9fc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9fc21 in the Color Lab