Skip to content

#dfd15d

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

RGB
223, 209, 93
HSL
54°, 67%, 62%
CMYK
0, 6, 58, 13
Luminance
0.6208

Every format

HEX#dfd15d
RGBrgb(223, 209, 93)
HSLhsl(54, 67%, 62%)
CMYKcmyk(0%, 6%, 58%, 13%)
LABlab(83.0 -9.3 58.0)
LCHlch(83.0 58.8 99.2)
OKLCHoklch(0.850 0.137 102.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd15d on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#dfd15d on black: 13.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.0%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow58.3%
Key (black)12.5%

Color previews

#dfd15d text on a black background

contrast 13.42:1

Card sample

#dfd15d text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 209, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 209, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd15d;
background: linear-gradient(135deg, #dfd15d, #97DF5D);

Monochromatic scale

Palettes built from #dfd15d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd15d in the Color Lab