Skip to content

#dfd32f

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

RGB
223, 211, 47
HSL
56°, 73%, 53%
CMYK
0, 5, 79, 13
Luminance
0.6248

Every format

HEX#dfd32f
RGBrgb(223, 211, 47)
HSLhsl(56, 73%, 53%)
CMYKcmyk(0%, 5%, 79%, 13%)
LABlab(83.2 -12.7 75.4)
LCHlch(83.2 76.5 99.6)
OKLCHoklch(0.851 0.169 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.7%
Blue18.4%

CMYK percentages

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

Color previews

#dfd32f text on a black background

contrast 13.50:1

Card sample

#dfd32f text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd32f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd32f in the Color Lab