Skip to content

#ccc573

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

RGB
204, 197, 115
HSL
55°, 47%, 63%
CMYK
0, 3, 44, 20
Luminance
0.5401

Every format

HEX#ccc573
RGBrgb(204, 197, 115)
HSLhsl(55, 47%, 63%)
CMYKcmyk(0%, 3%, 44%, 20%)
LABlab(78.5 -9.1 41.9)
LCHlch(78.5 42.9 102.3)
OKLCHoklch(0.811 0.104 104.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc573 on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#ccc573 on black: 11.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green77.3%
Blue45.1%

CMYK percentages

Cyan0.0%
Magenta3.4%
Yellow43.6%
Key (black)20.0%

Color previews

#ccc573 text on a black background

contrast 11.80:1

Card sample

#ccc573 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 197, 115, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 197, 115, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc573;
background: linear-gradient(135deg, #ccc573, #98CC73);

Monochromatic scale

Palettes built from #ccc573

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc573 in the Color Lab