Skip to content

#cccba4

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

RGB
204, 203, 164
HSL
59°, 28%, 72%
CMYK
0, 1, 20, 20
Luminance
0.5823

Every format

HEX#cccba4
RGBrgb(204, 203, 164)
HSLhsl(59, 28%, 72%)
CMYKcmyk(0%, 1%, 20%, 20%)
LABlab(80.9 -6.1 19.6)
LCHlch(80.9 20.6 107.2)
OKLCHoklch(0.833 0.052 106.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccba4 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cccba4 on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green79.6%
Blue64.3%

CMYK percentages

Cyan0.0%
Magenta0.5%
Yellow19.6%
Key (black)20.0%

Color previews

#cccba4 text on a black background

contrast 12.65:1

Card sample

#cccba4 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccba4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccba4 in the Color Lab