Skip to content

#c9dd21

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

RGB
201, 221, 33
HSL
66°, 74%, 50%
CMYK
9, 0, 85, 13
Luminance
0.6424

Every format

HEX#c9dd21
RGBrgb(201, 221, 33)
HSLhsl(66, 74%, 50%)
CMYKcmyk(9%, 0%, 85%, 13%)
LABlab(84.1 -27.2 78.9)
LCHlch(84.1 83.4 109.0)
OKLCHoklch(0.854 0.189 116.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9dd21 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#c9dd21 on black: 13.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green86.7%
Blue12.9%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow85.1%
Key (black)13.3%

Color previews

#c9dd21 text on a black background

contrast 13.85:1

Card sample

#c9dd21 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9dd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9dd21 in the Color Lab