Skip to content

#dfcf5f

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

RGB
223, 207, 95
HSL
53°, 67%, 62%
CMYK
0, 7, 57, 13
Luminance
0.6114

Every format

HEX#dfcf5f
RGBrgb(223, 207, 95)
HSLhsl(53, 67%, 62%)
CMYKcmyk(0%, 7%, 57%, 13%)
LABlab(82.5 -8.2 56.6)
LCHlch(82.5 57.1 98.2)
OKLCHoklch(0.846 0.134 101.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcf5f on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#dfcf5f on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green81.2%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta7.2%
Yellow57.4%
Key (black)12.5%

Color previews

#dfcf5f text on a black background

contrast 13.23:1

Card sample

#dfcf5f text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcf5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcf5f in the Color Lab