Skip to content

#cccfa2

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

RGB
204, 207, 162
HSL
64°, 32%, 72%
CMYK
1, 0, 22, 19
Luminance
0.6007

Every format

HEX#cccfa2
RGBrgb(204, 207, 162)
HSLhsl(64, 32%, 72%)
CMYKcmyk(1%, 0%, 22%, 19%)
LABlab(81.9 -8.4 22.1)
LCHlch(81.9 23.6 110.9)
OKLCHoklch(0.841 0.060 110.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccfa2 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#cccfa2 on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue63.5%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow21.7%
Key (black)18.8%

Color previews

#cccfa2 text on a black background

contrast 13.01:1

Card sample

#cccfa2 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccfa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccfa2 in the Color Lab