Skip to content

#dfda32

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

RGB
223, 218, 50
HSL
58°, 73%, 54%
CMYK
0, 2, 78, 13
Luminance
0.6606

Every format

HEX#dfda32
RGBrgb(223, 218, 50)
HSLhsl(58, 73%, 54%)
CMYKcmyk(0%, 2%, 78%, 13%)
LABlab(85.0 -16.1 76.2)
LCHlch(85.0 77.9 101.9)
OKLCHoklch(0.865 0.174 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfda32 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dfda32 on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.5%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow77.6%
Key (black)12.5%

Color previews

#dfda32 text on a black background

contrast 14.21:1

Card sample

#dfda32 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfda32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfda32 in the Color Lab