Skip to content

#dfdf32

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

RGB
223, 223, 50
HSL
60°, 73%, 54%
CMYK
0, 0, 78, 13
Luminance
0.6869

Every format

HEX#dfdf32
RGBrgb(223, 223, 50)
HSLhsl(60, 73%, 54%)
CMYKcmyk(0%, 0%, 78%, 13%)
LABlab(86.3 -18.6 77.3)
LCHlch(86.3 79.5 103.5)
OKLCHoklch(0.876 0.178 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf32 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf32 on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow77.6%
Key (black)12.5%

Color previews

#dfdf32 text on a black background

contrast 14.74:1

Card sample

#dfdf32 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf32 in the Color Lab