Skip to content

#dfdd7f

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

RGB
223, 221, 127
HSL
59°, 60%, 69%
CMYK
0, 1, 43, 13
Luminance
0.6893

Every format

HEX#dfdd7f
RGBrgb(223, 221, 127)
HSLhsl(59, 60%, 69%)
CMYKcmyk(0%, 1%, 43%, 13%)
LABlab(86.5 -12.5 46.2)
LCHlch(86.5 47.9 105.1)
OKLCHoklch(0.879 0.117 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdd7f on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfdd7f on black: 14.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green86.7%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow43.0%
Key (black)12.5%

Color previews

#dfdd7f text on a black background

contrast 14.79:1

Card sample

#dfdd7f text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdd7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdd7f in the Color Lab