Skip to content

#dfda5e

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

RGB
223, 218, 94
HSL
58°, 67%, 62%
CMYK
0, 2, 58, 13
Luminance
0.6664

Every format

HEX#dfda5e
RGBrgb(223, 218, 94)
HSLhsl(58, 67%, 62%)
CMYKcmyk(0%, 2%, 58%, 13%)
LABlab(85.3 -13.8 60.2)
LCHlch(85.3 61.8 102.9)
OKLCHoklch(0.869 0.145 106.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfda5e on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#dfda5e on black: 14.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.5%
Blue36.9%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow57.8%
Key (black)12.5%

Color previews

#dfda5e text on a black background

contrast 14.33:1

Card sample

#dfda5e text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfda5e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfda5e in the Color Lab