Skip to content

#dfcc4e

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

RGB
223, 204, 78
HSL
52°, 69%, 59%
CMYK
0, 9, 65, 13
Luminance
0.5942

Every format

HEX#dfcc4e
RGBrgb(223, 204, 78)
HSLhsl(52, 69%, 59%)
CMYKcmyk(0%, 9%, 65%, 13%)
LABlab(81.5 -7.8 62.9)
LCHlch(81.5 63.4 97.1)
OKLCHoklch(0.838 0.145 100.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc4e on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc4e on black: 12.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue30.6%

CMYK percentages

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

Color previews

#dfcc4e text on a black background

contrast 12.88:1

Card sample

#dfcc4e text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc4e in the Color Lab