Skip to content

#cccc55

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

RGB
204, 204, 85
HSL
60°, 54%, 57%
CMYK
0, 0, 58, 20
Luminance
0.5668

Every format

HEX#cccc55
RGBrgb(204, 204, 85)
HSLhsl(60, 54%, 57%)
CMYKcmyk(0%, 0%, 58%, 20%)
LABlab(80.0 -15.2 57.8)
LCHlch(80.0 59.8 104.8)
OKLCHoklch(0.822 0.141 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green80.0%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow58.3%
Key (black)20.0%

Color previews

#cccc55 text on a black background

contrast 12.34:1

Card sample

#cccc55 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccc55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccc55 in the Color Lab