Skip to content

#cbcc21

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

RGB
203, 204, 33
HSL
60°, 72%, 47%
CMYK
1, 0, 84, 20
Luminance
0.5599

Every format

HEX#cbcc21
RGBrgb(203, 204, 33)
HSLhsl(60, 72%, 47%)
CMYKcmyk(1%, 0%, 84%, 20%)
LABlab(79.6 -18.1 75.2)
LCHlch(79.6 77.4 103.6)
OKLCHoklch(0.818 0.172 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbcc21 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#cbcc21 on black: 12.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green80.0%
Blue12.9%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow83.8%
Key (black)20.0%

Color previews

#cbcc21 text on a black background

contrast 12.20:1

Card sample

#cbcc21 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbcc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbcc21 in the Color Lab