Skip to content

#dfd90d

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

RGB
223, 217, 13
HSL
58°, 89%, 46%
CMYK
0, 3, 94, 13
Luminance
0.6534

Every format

HEX#dfd90d
RGBrgb(223, 217, 13)
HSLhsl(58, 89%, 46%)
CMYKcmyk(0%, 3%, 94%, 13%)
LABlab(84.7 -16.4 83.1)
LCHlch(84.7 84.7 101.2)
OKLCHoklch(0.862 0.184 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd90d on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dfd90d on black: 14.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.1%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow94.2%
Key (black)12.5%

Color previews

#dfd90d text on a black background

contrast 14.07:1

Card sample

#dfd90d text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 217, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 217, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd90d;
background: linear-gradient(135deg, #dfd90d, #59DF0D);

Monochromatic scale

Palettes built from #dfd90d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd90d in the Color Lab