Skip to content

#dfcc6f

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

RGB
223, 204, 111
HSL
50°, 64%, 66%
CMYK
0, 9, 50, 13
Luminance
0.6002

Every format

HEX#dfcc6f
RGBrgb(223, 204, 111)
HSLhsl(50, 64%, 66%)
CMYKcmyk(0%, 9%, 50%, 13%)
LABlab(81.8 -5.4 48.4)
LCHlch(81.8 48.6 96.3)
OKLCHoklch(0.842 0.116 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.0%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow50.2%
Key (black)12.5%

Color previews

#dfcc6f text on a black background

contrast 13.00:1

Card sample

#dfcc6f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc6f in the Color Lab