Skip to content

#cdac60

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

RGB
205, 172, 96
HSL
42°, 52%, 59%
CMYK
0, 16, 53, 20
Luminance
0.4333

Every format

HEX#cdac60
RGBrgb(205, 172, 96)
HSLhsl(42, 52%, 59%)
CMYKcmyk(0%, 16%, 53%, 20%)
LABlab(71.8 2.6 43.2)
LCHlch(71.8 43.3 86.5)
OKLCHoklch(0.758 0.103 86.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdac60 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#cdac60 on black: 9.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green67.5%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow53.2%
Key (black)19.6%

Color previews

#cdac60 text on a black background

contrast 9.67:1

Card sample

#cdac60 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 172, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 172, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdac60;
background: linear-gradient(135deg, #cdac60, #A5CD60);

Monochromatic scale

Palettes built from #cdac60

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdac60 in the Color Lab