Skip to content

#c9bc21

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

RGB
201, 188, 33
HSL
55°, 72%, 46%
CMYK
0, 7, 84, 21
Luminance
0.4849

Every format

HEX#c9bc21
RGBrgb(201, 188, 33)
HSLhsl(55, 72%, 46%)
CMYKcmyk(0%, 7%, 84%, 21%)
LABlab(75.1 -10.9 71.4)
LCHlch(75.1 72.3 98.7)
OKLCHoklch(0.782 0.158 104.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9bc21 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#c9bc21 on black: 10.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green73.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta6.5%
Yellow83.6%
Key (black)21.2%

Color previews

#c9bc21 text on a black background

contrast 10.70:1

Card sample

#c9bc21 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9bc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9bc21 in the Color Lab