Skip to content

#dcd461

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

RGB
220, 212, 97
HSL
56°, 64%, 62%
CMYK
0, 4, 56, 14
Luminance
0.6317

Every format

HEX#dcd461
RGBrgb(220, 212, 97)
HSLhsl(56, 64%, 62%)
CMYKcmyk(0%, 4%, 56%, 14%)
LABlab(83.5 -11.8 56.8)
LCHlch(83.5 58.0 101.7)
OKLCHoklch(0.854 0.137 105.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd461 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#dcd461 on black: 13.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green83.1%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow55.9%
Key (black)13.7%

Color previews

#dcd461 text on a black background

contrast 13.63:1

Card sample

#dcd461 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 212, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 212, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcd461;
background: linear-gradient(135deg, #dcd461, #92DC61);

Monochromatic scale

Palettes built from #dcd461

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd461 in the Color Lab