Skip to content

#dfdf7d

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

RGB
223, 223, 125
HSL
60°, 61%, 68%
CMYK
0, 0, 44, 13
Luminance
0.6994

Every format

HEX#dfdf7d
RGBrgb(223, 223, 125)
HSLhsl(60, 61%, 68%)
CMYKcmyk(0%, 0%, 44%, 13%)
LABlab(87.0 -13.7 47.8)
LCHlch(87.0 49.7 106.0)
OKLCHoklch(0.883 0.121 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf7d on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf7d on black: 14.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue49.0%

CMYK percentages

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

Color previews

#dfdf7d text on a black background

contrast 14.99:1

Card sample

#dfdf7d text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf7d in the Color Lab