Skip to content

#c9cd3b

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

RGB
201, 205, 59
HSL
62°, 59%, 52%
CMYK
2, 0, 71, 20
Luminance
0.5640

Every format

HEX#c9cd3b
RGBrgb(201, 205, 59)
HSLhsl(62, 59%, 52%)
CMYKcmyk(2%, 0%, 71%, 20%)
LABlab(79.8 -18.5 67.9)
LCHlch(79.8 70.4 105.3)
OKLCHoklch(0.820 0.161 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9cd3b on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#c9cd3b on black: 12.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green80.4%
Blue23.1%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow71.2%
Key (black)19.6%

Color previews

#c9cd3b text on a black background

contrast 12.28:1

Card sample

#c9cd3b text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 205, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 205, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9cd3b;
background: linear-gradient(135deg, #c9cd3b, #68CD3B);

Monochromatic scale

Palettes built from #c9cd3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9cd3b in the Color Lab