Skip to content

#ccc920

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

RGB
204, 201, 32
HSL
59°, 73%, 46%
CMYK
0, 2, 84, 20
Luminance
0.5471

Every format

HEX#ccc920
RGBrgb(204, 201, 32)
HSLhsl(59, 73%, 46%)
CMYKcmyk(0%, 2%, 84%, 20%)
LABlab(78.9 -16.3 74.9)
LCHlch(78.9 76.6 102.2)
OKLCHoklch(0.812 0.169 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green78.8%
Blue12.5%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow84.3%
Key (black)20.0%

Color previews

#ccc920 text on a black background

contrast 11.94:1

Card sample

#ccc920 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc920

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc920 in the Color Lab