Skip to content

#dfdf7e

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

RGB
223, 223, 126
HSL
60°, 60%, 68%
CMYK
0, 0, 44, 13
Luminance
0.6997

Every format

HEX#dfdf7e
RGBrgb(223, 223, 126)
HSLhsl(60, 60%, 68%)
CMYKcmyk(0%, 0%, 44%, 13%)
LABlab(87.0 -13.6 47.3)
LCHlch(87.0 49.3 106.0)
OKLCHoklch(0.883 0.120 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue49.4%

CMYK percentages

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

Color previews

#dfdf7e text on a black background

contrast 14.99:1

Card sample

#dfdf7e text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf7e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf7e in the Color Lab