Skip to content

#cbc921

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

RGB
203, 201, 33
HSL
59°, 72%, 46%
CMYK
0, 1, 84, 20
Luminance
0.5458

Every format

HEX#cbc921
RGBrgb(203, 201, 33)
HSLhsl(59, 72%, 46%)
CMYKcmyk(0%, 1%, 84%, 20%)
LABlab(78.8 -16.6 74.5)
LCHlch(78.8 76.4 102.6)
OKLCHoklch(0.811 0.169 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbc921 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#cbc921 on black: 11.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green78.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow83.7%
Key (black)20.4%

Color previews

#cbc921 text on a black background

contrast 11.92:1

Card sample

#cbc921 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbc921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbc921 in the Color Lab