Skip to content

#dfd15f

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

RGB
223, 209, 95
HSL
53°, 67%, 62%
CMYK
0, 6, 57, 13
Luminance
0.6212

Every format

HEX#dfd15f
RGBrgb(223, 209, 95)
HSLhsl(53, 67%, 62%)
CMYKcmyk(0%, 6%, 57%, 13%)
LABlab(83.0 -9.2 57.1)
LCHlch(83.0 57.9 99.2)
OKLCHoklch(0.850 0.136 102.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.0%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow57.4%
Key (black)12.5%

Color previews

#dfd15f text on a black background

contrast 13.42:1

Card sample

#dfd15f text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd15f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd15f in the Color Lab