Skip to content

#cccfab

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

RGB
204, 207, 171
HSL
65°, 27%, 74%
CMYK
1, 0, 17, 19
Luminance
0.6040

Every format

HEX#cccfab
RGBrgb(204, 207, 171)
HSLhsl(65, 27%, 74%)
CMYKcmyk(1%, 0%, 17%, 19%)
LABlab(82.1 -7.1 17.6)
LCHlch(82.1 19.0 112.0)
OKLCHoklch(0.843 0.049 111.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green81.2%
Blue67.1%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow17.4%
Key (black)18.8%

Color previews

#cccfab text on a black background

contrast 13.08:1

Card sample

#cccfab text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccfab in the Color Lab