Skip to content

#dfdf9b

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

RGB
223, 223, 155
HSL
60°, 52%, 74%
CMYK
0, 0, 31, 13
Luminance
0.7083

Every format

HEX#dfdf9b
RGBrgb(223, 223, 155)
HSLhsl(60, 52%, 74%)
CMYKcmyk(0%, 0%, 31%, 13%)
LABlab(87.4 -10.4 33.4)
LCHlch(87.4 35.0 107.2)
OKLCHoklch(0.888 0.087 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue60.8%

CMYK percentages

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

Color previews

#dfdf9b text on a black background

contrast 15.17:1

Card sample

#dfdf9b text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf9b in the Color Lab