Skip to content

#dfdb9a

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

RGB
223, 219, 154
HSL
57°, 52%, 74%
CMYK
0, 2, 31, 13
Luminance
0.6868

Every format

HEX#dfdb9a
RGBrgb(223, 219, 154)
HSLhsl(57, 52%, 74%)
CMYKcmyk(0%, 2%, 31%, 13%)
LABlab(86.3 -8.5 32.5)
LCHlch(86.3 33.6 104.6)
OKLCHoklch(0.879 0.084 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.9%
Blue60.4%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow30.9%
Key (black)12.5%

Color previews

#dfdb9a text on a black background

contrast 14.74:1

Card sample

#dfdb9a text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb9a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb9a in the Color Lab