Skip to content

#ccba76

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

RGB
204, 186, 118
HSL
47°, 46%, 63%
CMYK
0, 9, 42, 20
Luminance
0.4926

Every format

HEX#ccba76
RGBrgb(204, 186, 118)
HSLhsl(47, 46%, 63%)
CMYKcmyk(0%, 9%, 42%, 20%)
LABlab(75.6 -3.1 36.8)
LCHlch(75.6 36.9 94.8)
OKLCHoklch(0.789 0.090 95.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green72.9%
Blue46.3%

CMYK percentages

Cyan0.0%
Magenta8.8%
Yellow42.2%
Key (black)20.0%

Color previews

#ccba76 text on a black background

contrast 10.85:1

Card sample

#ccba76 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccba76

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccba76 in the Color Lab