Skip to content

#ccccaf

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

RGB
204, 204, 175
HSL
60°, 22%, 74%
CMYK
0, 0, 14, 20
Luminance
0.5912

Every format

HEX#ccccaf
RGBrgb(204, 204, 175)
HSLhsl(60, 22%, 74%)
CMYKcmyk(0%, 0%, 14%, 20%)
LABlab(81.4 -4.9 14.5)
LCHlch(81.4 15.3 108.8)
OKLCHoklch(0.838 0.039 107.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green80.0%
Blue68.6%

CMYK percentages

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

Color previews

#ccccaf text on a black background

contrast 12.82:1

Card sample

#ccccaf text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccccaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccccaf in the Color Lab