Skip to content

#dfda9c

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

RGB
223, 218, 156
HSL
56°, 51%, 74%
CMYK
0, 2, 30, 13
Luminance
0.6823

Every format

HEX#dfda9c
RGBrgb(223, 218, 156)
HSLhsl(56, 51%, 74%)
CMYKcmyk(0%, 2%, 30%, 13%)
LABlab(86.1 -7.7 31.2)
LCHlch(86.1 32.1 103.9)
OKLCHoklch(0.878 0.080 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfda9c on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dfda9c on black: 14.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.5%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow30.0%
Key (black)12.5%

Color previews

#dfda9c text on a black background

contrast 14.65:1

Card sample

#dfda9c text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfda9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfda9c in the Color Lab