Skip to content

#ccba72

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

RGB
204, 186, 114
HSL
48°, 47%, 62%
CMYK
0, 9, 44, 20
Luminance
0.4917

Every format

HEX#ccba72
RGBrgb(204, 186, 114)
HSLhsl(48, 47%, 62%)
CMYKcmyk(0%, 9%, 44%, 20%)
LABlab(75.6 -3.5 38.7)
LCHlch(75.6 38.9 95.2)
OKLCHoklch(0.788 0.094 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccba72 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#ccba72 on black: 10.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green72.9%
Blue44.7%

CMYK percentages

Cyan0.0%
Magenta8.8%
Yellow44.1%
Key (black)20.0%

Color previews

#ccba72 text on a black background

contrast 10.83:1

Card sample

#ccba72 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccba72

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccba72 in the Color Lab