Skip to content

#dcd07f

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

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

Every format

HEX#dcd07f
RGBrgb(220, 208, 127)
HSLhsl(52, 57%, 68%)
CMYKcmyk(0%, 6%, 42%, 14%)
LABlab(82.8 -7.1 41.6)
LCHlch(82.8 42.2 99.7)
OKLCHoklch(0.850 0.103 100.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green81.6%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow42.3%
Key (black)13.7%

Color previews

#dcd07f text on a black background

contrast 13.37:1

Card sample

#dcd07f text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd07f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd07f in the Color Lab