Skip to content

#dfd01d

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

RGB
223, 208, 29
HSL
55°, 77%, 49%
CMYK
0, 7, 87, 13
Luminance
0.6089

Every format

HEX#dfd01d
RGBrgb(223, 208, 29)
HSLhsl(55, 77%, 49%)
CMYKcmyk(0%, 7%, 87%, 13%)
LABlab(82.3 -11.7 79.0)
LCHlch(82.3 79.8 98.4)
OKLCHoklch(0.844 0.173 104.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd01d on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#dfd01d on black: 13.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green81.6%
Blue11.4%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow87.0%
Key (black)12.5%

Color previews

#dfd01d text on a black background

contrast 13.18:1

Card sample

#dfd01d text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd01d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd01d in the Color Lab