Skip to content

#ccaf75

a balanced, vivid yellow · warm · closest name: tan

RGB
204, 175, 117
HSL
40°, 46%, 63%
CMYK
0, 14, 43, 20
Luminance
0.4478

Every format

HEX#ccaf75
RGBrgb(204, 175, 117)
HSLhsl(40, 46%, 63%)
CMYKcmyk(0%, 14%, 43%, 20%)
LABlab(72.8 2.6 33.6)
LCHlch(72.8 33.7 85.6)
OKLCHoklch(0.766 0.083 84.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccaf75 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#ccaf75 on black: 9.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green68.6%
Blue45.9%

CMYK percentages

Cyan0.0%
Magenta14.2%
Yellow42.6%
Key (black)20.0%

Color previews

#ccaf75 text on a black background

contrast 9.96:1

Card sample

#ccaf75 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccaf75

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccaf75 in the Color Lab