Skip to content

#dfdd9b

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

RGB
223, 221, 155
HSL
58°, 52%, 74%
CMYK
0, 1, 31, 13
Luminance
0.6977

Every format

HEX#dfdd9b
RGBrgb(223, 221, 155)
HSLhsl(58, 52%, 74%)
CMYKcmyk(0%, 1%, 31%, 13%)
LABlab(86.9 -9.3 32.7)
LCHlch(86.9 34.0 105.9)
OKLCHoklch(0.884 0.085 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdd9b on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dfdd9b on black: 14.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green86.7%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow30.5%
Key (black)12.5%

Color previews

#dfdd9b text on a black background

contrast 14.95:1

Card sample

#dfdd9b text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdd9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdd9b in the Color Lab