Skip to content

#ccc577

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

RGB
204, 197, 119
HSL
55°, 46%, 63%
CMYK
0, 3, 42, 20
Luminance
0.5410

Every format

HEX#ccc577
RGBrgb(204, 197, 119)
HSLhsl(55, 46%, 63%)
CMYKcmyk(0%, 3%, 42%, 20%)
LABlab(78.5 -8.7 39.9)
LCHlch(78.5 40.9 102.3)
OKLCHoklch(0.812 0.100 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green77.3%
Blue46.7%

CMYK percentages

Cyan0.0%
Magenta3.4%
Yellow41.7%
Key (black)20.0%

Color previews

#ccc577 text on a black background

contrast 11.82:1

Card sample

#ccc577 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc577

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc577 in the Color Lab