Skip to content

#dfdb9d

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

RGB
223, 219, 157
HSL
56°, 51%, 75%
CMYK
0, 2, 30, 13
Luminance
0.6879

Every format

HEX#dfdb9d
RGBrgb(223, 219, 157)
HSLhsl(56, 51%, 75%)
CMYKcmyk(0%, 2%, 30%, 13%)
LABlab(86.4 -8.1 31.1)
LCHlch(86.4 32.1 104.6)
OKLCHoklch(0.880 0.080 104.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdb9d on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfdb9d on black: 14.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.9%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow29.6%
Key (black)12.5%

Color previews

#dfdb9d text on a black background

contrast 14.76:1

Card sample

#dfdb9d text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb9d in the Color Lab