Skip to content

#ccc29d

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

RGB
204, 194, 157
HSL
47°, 32%, 71%
CMYK
0, 5, 23, 20
Luminance
0.5386

Every format

HEX#ccc29d
RGBrgb(204, 194, 157)
HSLhsl(47, 32%, 71%)
CMYKcmyk(0%, 5%, 23%, 20%)
LABlab(78.4 -2.4 19.9)
LCHlch(78.4 20.1 96.9)
OKLCHoklch(0.813 0.051 94.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.1%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow23.0%
Key (black)20.0%

Color previews

#ccc29d text on a black background

contrast 11.77:1

Card sample

#ccc29d text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc29d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc29d in the Color Lab