Skip to content

#ccccab

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

RGB
204, 204, 171
HSL
60°, 24%, 74%
CMYK
0, 0, 16, 20
Luminance
0.5896

Every format

HEX#ccccab
RGBrgb(204, 204, 171)
HSLhsl(60, 24%, 74%)
CMYKcmyk(0%, 0%, 16%, 20%)
LABlab(81.3 -5.6 16.5)
LCHlch(81.3 17.4 108.6)
OKLCHoklch(0.837 0.044 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccccab on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#ccccab on black: 12.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.0%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow16.2%
Key (black)20.0%

Color previews

#ccccab text on a black background

contrast 12.79:1

Card sample

#ccccab text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccccab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccccab in the Color Lab