Skip to content

#cccd3b

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

RGB
204, 205, 59
HSL
60°, 59%, 52%
CMYK
1, 0, 71, 20
Luminance
0.5682

Every format

HEX#cccd3b
RGBrgb(204, 205, 59)
HSLhsl(60, 59%, 52%)
CMYKcmyk(1%, 0%, 71%, 20%)
LABlab(80.1 -17.3 68.2)
LCHlch(80.1 70.3 104.2)
OKLCHoklch(0.822 0.160 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccd3b on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#cccd3b on black: 12.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.4%
Blue23.1%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow71.2%
Key (black)19.6%

Color previews

#cccd3b text on a black background

contrast 12.36:1

Card sample

#cccd3b text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccd3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccd3b in the Color Lab