Skip to content

#ccc49c

a light, soft yellow · cool · closest name: tan

RGB
204, 196, 156
HSL
50°, 32%, 71%
CMYK
0, 4, 24, 20
Luminance
0.5472

Every format

HEX#ccc49c
RGBrgb(204, 196, 156)
HSLhsl(50, 32%, 71%)
CMYKcmyk(0%, 4%, 24%, 20%)
LABlab(78.9 -3.6 21.1)
LCHlch(78.9 21.4 99.7)
OKLCHoklch(0.817 0.054 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc49c on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#ccc49c on black: 11.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.9%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta3.9%
Yellow23.5%
Key (black)20.0%

Color previews

#ccc49c text on a black background

contrast 11.94:1

Card sample

#ccc49c text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc49c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc49c in the Color Lab