Skip to content

#ccc449

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

RGB
204, 196, 73
HSL
56°, 56%, 54%
CMYK
0, 4, 64, 20
Luminance
0.5280

Every format

HEX#ccc449
RGBrgb(204, 196, 73)
HSLhsl(56, 56%, 54%)
CMYKcmyk(0%, 4%, 64%, 20%)
LABlab(77.8 -12.0 60.5)
LCHlch(77.8 61.7 101.2)
OKLCHoklch(0.804 0.142 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc449 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#ccc449 on black: 11.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta3.9%
Yellow64.2%
Key (black)20.0%

Color previews

#ccc449 text on a black background

contrast 11.56:1

Card sample

#ccc449 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc449

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc449 in the Color Lab