Skip to content

#dfdf9f

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

RGB
223, 223, 159
HSL
60°, 50%, 75%
CMYK
0, 0, 29, 13
Luminance
0.7097

Every format

HEX#dfdf9f
RGBrgb(223, 223, 159)
HSLhsl(60, 50%, 75%)
CMYKcmyk(0%, 0%, 29%, 13%)
LABlab(87.5 -9.9 31.5)
LCHlch(87.5 33.0 107.4)
OKLCHoklch(0.888 0.083 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow28.7%
Key (black)12.5%

Color previews

#dfdf9f text on a black background

contrast 15.19:1

Card sample

#dfdf9f text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf9f in the Color Lab