Skip to content

#dcd080

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

RGB
220, 208, 128
HSL
52°, 57%, 68%
CMYK
0, 6, 42, 14
Luminance
0.6189

Every format

HEX#dcd080
RGBrgb(220, 208, 128)
HSLhsl(52, 57%, 68%)
CMYKcmyk(0%, 6%, 42%, 14%)
LABlab(82.8 -7.0 41.1)
LCHlch(82.8 41.7 99.7)
OKLCHoklch(0.850 0.102 100.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd080 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#dcd080 on black: 13.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green81.6%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow41.8%
Key (black)13.7%

Color previews

#dcd080 text on a black background

contrast 13.38:1

Card sample

#dcd080 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 208, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 208, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcd080;
background: linear-gradient(135deg, #dcd080, #ABDC80);

Monochromatic scale

Palettes built from #dcd080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd080 in the Color Lab