Skip to content

#dfcc6b

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

RGB
223, 204, 107
HSL
50°, 64%, 65%
CMYK
0, 9, 52, 13
Luminance
0.5994

Every format

HEX#dfcc6b
RGBrgb(223, 204, 107)
HSLhsl(50, 64%, 65%)
CMYKcmyk(0%, 9%, 52%, 13%)
LABlab(81.8 -5.7 50.2)
LCHlch(81.8 50.5 96.5)
OKLCHoklch(0.841 0.120 98.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc6b on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc6b on black: 12.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue42.0%

CMYK percentages

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

Color previews

#dfcc6b text on a black background

contrast 12.99:1

Card sample

#dfcc6b text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc6b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc6b in the Color Lab