Skip to content

#dfde2f

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

RGB
223, 222, 47
HSL
60°, 73%, 53%
CMYK
0, 0, 79, 13
Luminance
0.6814

Every format

HEX#dfde2f
RGBrgb(223, 222, 47)
HSLhsl(60, 73%, 53%)
CMYKcmyk(0%, 0%, 79%, 13%)
LABlab(86.1 -18.2 77.9)
LCHlch(86.1 80.0 103.1)
OKLCHoklch(0.874 0.179 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfde2f on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dfde2f on black: 14.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow78.9%
Key (black)12.5%

Color previews

#dfde2f text on a black background

contrast 14.63:1

Card sample

#dfde2f text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 222, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 222, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfde2f;
background: linear-gradient(135deg, #dfde2f, #6ADF2F);

Monochromatic scale

Palettes built from #dfde2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfde2f in the Color Lab