Skip to content

#dfdf9d

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

RGB
223, 223, 157
HSL
60°, 51%, 75%
CMYK
0, 0, 30, 13
Luminance
0.7090

Every format

HEX#dfdf9d
RGBrgb(223, 223, 157)
HSLhsl(60, 51%, 75%)
CMYKcmyk(0%, 0%, 30%, 13%)
LABlab(87.4 -10.1 32.5)
LCHlch(87.4 34.0 107.3)
OKLCHoklch(0.888 0.085 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf9d on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf9d on black: 15.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow29.6%
Key (black)12.5%

Color previews

#dfdf9d text on a black background

contrast 15.18:1

Card sample

#dfdf9d text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf9d in the Color Lab