Skip to content

#dcd560

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

RGB
220, 213, 96
HSL
57°, 64%, 62%
CMYK
0, 3, 56, 14
Luminance
0.6365

Every format

HEX#dcd560
RGBrgb(220, 213, 96)
HSLhsl(57, 64%, 62%)
CMYKcmyk(0%, 3%, 56%, 14%)
LABlab(83.8 -12.4 57.5)
LCHlch(83.8 58.9 102.1)
OKLCHoklch(0.856 0.139 105.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd560 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#dcd560 on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green83.5%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow56.4%
Key (black)13.7%

Color previews

#dcd560 text on a black background

contrast 13.73:1

Card sample

#dcd560 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 213, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 213, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcd560;
background: linear-gradient(135deg, #dcd560, #90DC60);

Monochromatic scale

Palettes built from #dcd560

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd560 in the Color Lab