Skip to content

#dfd976

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

RGB
223, 217, 118
HSL
57°, 62%, 67%
CMYK
0, 3, 47, 13
Luminance
0.6662

Every format

HEX#dfd976
RGBrgb(223, 217, 118)
HSLhsl(57, 62%, 67%)
CMYKcmyk(0%, 3%, 47%, 13%)
LABlab(85.3 -11.3 49.2)
LCHlch(85.3 50.5 103.0)
OKLCHoklch(0.869 0.122 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.1%
Blue46.3%

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow47.1%
Key (black)12.5%

Color previews

#dfd976 text on a black background

contrast 14.32:1

Card sample

#dfd976 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd976

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd976 in the Color Lab