Skip to content

#ccad55

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

RGB
204, 173, 85
HSL
44°, 54%, 57%
CMYK
0, 15, 58, 20
Luminance
0.4338

Every format

HEX#ccad55
RGBrgb(204, 173, 85)
HSLhsl(44, 54%, 57%)
CMYKcmyk(0%, 15%, 58%, 20%)
LABlab(71.8 0.8 48.6)
LCHlch(71.8 48.6 89.1)
OKLCHoklch(0.757 0.113 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccad55 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#ccad55 on black: 9.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.8%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta15.2%
Yellow58.3%
Key (black)20.0%

Color previews

#ccad55 text on a black background

contrast 9.68:1

Card sample

#ccad55 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccad55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccad55 in the Color Lab