Skip to content

#dfd32c

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

RGB
223, 211, 44
HSL
56°, 74%, 52%
CMYK
0, 5, 80, 13
Luminance
0.6246

Every format

HEX#dfd32c
RGBrgb(223, 211, 44)
HSLhsl(56, 74%, 52%)
CMYKcmyk(0%, 5%, 80%, 13%)
LABlab(83.2 -12.8 76.2)
LCHlch(83.2 77.3 99.6)
OKLCHoklch(0.850 0.170 105.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green82.7%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta5.4%
Yellow80.3%
Key (black)12.5%

Color previews

#dfd32c text on a black background

contrast 13.49:1

Card sample

#dfd32c text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd32c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd32c in the Color Lab