Skip to content

#dfcc7f

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

RGB
223, 204, 127
HSL
48°, 60%, 69%
CMYK
0, 9, 43, 13
Luminance
0.6041

Every format

HEX#dfcc7f
RGBrgb(223, 204, 127)
HSLhsl(48, 60%, 69%)
CMYKcmyk(0%, 9%, 43%, 13%)
LABlab(82.1 -3.9 40.7)
LCHlch(82.1 40.9 95.4)
OKLCHoklch(0.844 0.099 95.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc7f on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc7f on black: 13.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue49.8%

CMYK percentages

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

Color previews

#dfcc7f text on a black background

contrast 13.08:1

Card sample

#dfcc7f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc7f in the Color Lab