Skip to content

#dcd950

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

RGB
220, 217, 80
HSL
59°, 67%, 59%
CMYK
0, 1, 64, 14
Luminance
0.6542

Every format

HEX#dcd950
RGBrgb(220, 217, 80)
HSLhsl(59, 67%, 59%)
CMYKcmyk(0%, 1%, 64%, 14%)
LABlab(84.7 -15.4 65.3)
LCHlch(84.7 67.2 103.3)
OKLCHoklch(0.863 0.155 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd950 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dcd950 on black: 14.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green85.1%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow63.6%
Key (black)13.7%

Color previews

#dcd950 text on a black background

contrast 14.08:1

Card sample

#dcd950 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 217, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 217, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcd950;
background: linear-gradient(135deg, #dcd950, #82DC50);

Monochromatic scale

Palettes built from #dcd950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd950 in the Color Lab