Skip to content

#c9ce21

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

RGB
201, 206, 33
HSL
62°, 72%, 47%
CMYK
2, 0, 84, 19
Luminance
0.5667

Every format

HEX#c9ce21
RGBrgb(201, 206, 33)
HSLhsl(62, 72%, 47%)
CMYKcmyk(2%, 0%, 84%, 19%)
LABlab(80.0 -20.0 75.5)
LCHlch(80.0 78.1 104.8)
OKLCHoklch(0.821 0.174 111.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9ce21 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#c9ce21 on black: 12.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green80.8%
Blue12.9%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow84.0%
Key (black)19.2%

Color previews

#c9ce21 text on a black background

contrast 12.33:1

Card sample

#c9ce21 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9ce21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9ce21 in the Color Lab