Skip to content

#cccc33

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

RGB
204, 204, 51
HSL
60°, 60%, 50%
CMYK
0, 0, 75, 20
Luminance
0.5626

Every format

HEX#cccc33
RGBrgb(204, 204, 51)
HSLhsl(60, 60%, 50%)
CMYKcmyk(0%, 0%, 75%, 20%)
LABlab(79.8 -17.1 70.5)
LCHlch(79.8 72.6 103.6)
OKLCHoklch(0.820 0.164 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccc33 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cccc33 on black: 12.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.0%
Blue20.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow75.0%
Key (black)20.0%

Color previews

#cccc33 text on a black background

contrast 12.25:1

Card sample

#cccc33 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccc33

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccc33 in the Color Lab