Skip to content

#ccc29f

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

RGB
204, 194, 159
HSL
47°, 31%, 71%
CMYK
0, 5, 22, 20
Luminance
0.5392

Every format

HEX#ccc29f
RGBrgb(204, 194, 159)
HSLhsl(47, 31%, 71%)
CMYKcmyk(0%, 5%, 22%, 20%)
LABlab(78.4 -2.1 18.9)
LCHlch(78.4 19.0 96.5)
OKLCHoklch(0.813 0.049 94.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.1%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow22.1%
Key (black)20.0%

Color previews

#ccc29f text on a black background

contrast 11.78:1

Card sample

#ccc29f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc29f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc29f in the Color Lab