Skip to content

#cccf9d

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

RGB
204, 207, 157
HSL
64°, 34%, 71%
CMYK
1, 0, 24, 19
Luminance
0.5990

Every format

HEX#cccf9d
RGBrgb(204, 207, 157)
HSLhsl(64, 34%, 71%)
CMYKcmyk(1%, 0%, 24%, 19%)
LABlab(81.8 -9.2 24.6)
LCHlch(81.8 26.2 110.4)
OKLCHoklch(0.840 0.067 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccf9d on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cccf9d on black: 12.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue61.6%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow24.2%
Key (black)18.8%

Color previews

#cccf9d text on a black background

contrast 12.98:1

Card sample

#cccf9d text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccf9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccf9d in the Color Lab