Skip to content

#dfd47d

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

RGB
223, 212, 125
HSL
53°, 61%, 68%
CMYK
0, 5, 44, 13
Luminance
0.6426

Every format

HEX#dfd47d
RGBrgb(223, 212, 125)
HSLhsl(53, 61%, 68%)
CMYKcmyk(0%, 5%, 44%, 13%)
LABlab(84.1 -8.2 44.3)
LCHlch(84.1 45.0 100.4)
OKLCHoklch(0.860 0.109 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd47d on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#dfd47d on black: 13.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.1%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow43.9%
Key (black)12.5%

Color previews

#dfd47d text on a black background

contrast 13.85:1

Card sample

#dfd47d text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 212, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 212, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd47d;
background: linear-gradient(135deg, #dfd47d, #A9DF7D);

Monochromatic scale

Palettes built from #dfd47d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd47d in the Color Lab