Skip to content

#dfce2f

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

RGB
223, 206, 47
HSL
54°, 73%, 53%
CMYK
0, 8, 79, 13
Luminance
0.6004

Every format

HEX#dfce2f
RGBrgb(223, 206, 47)
HSLhsl(54, 73%, 53%)
CMYKcmyk(0%, 8%, 79%, 13%)
LABlab(81.9 -10.2 74.2)
LCHlch(81.9 74.9 97.8)
OKLCHoklch(0.840 0.165 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfce2f on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#dfce2f on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta7.6%
Yellow78.9%
Key (black)12.5%

Color previews

#dfce2f text on a black background

contrast 13.01:1

Card sample

#dfce2f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfce2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfce2f in the Color Lab