Skip to content

#cccfb5

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

RGB
204, 207, 181
HSL
67°, 21%, 76%
CMYK
1, 0, 13, 19
Luminance
0.6080

Every format

HEX#cccfb5
RGBrgb(204, 207, 181)
HSLhsl(67, 21%, 76%)
CMYKcmyk(1%, 0%, 13%, 19%)
LABlab(82.3 -5.5 12.6)
LCHlch(82.3 13.8 113.7)
OKLCHoklch(0.845 0.035 112.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccfb5 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#cccfb5 on black: 13.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue71.0%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow12.6%
Key (black)18.8%

Color previews

#cccfb5 text on a black background

contrast 13.16:1

Card sample

#cccfb5 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccfb5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccfb5 in the Color Lab