Skip to content

#dcd06f

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

RGB
220, 208, 111
HSL
53°, 61%, 65%
CMYK
0, 6, 50, 14
Luminance
0.6148

Every format

HEX#dcd06f
RGBrgb(220, 208, 111)
HSLhsl(53, 61%, 65%)
CMYKcmyk(0%, 6%, 50%, 14%)
LABlab(82.6 -8.6 49.2)
LCHlch(82.6 50.0 100.0)
OKLCHoklch(0.847 0.120 102.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd06f on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dcd06f on black: 13.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green81.6%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow49.5%
Key (black)13.7%

Color previews

#dcd06f text on a black background

contrast 13.30:1

Card sample

#dcd06f text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd06f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd06f in the Color Lab