Skip to content

#dfd90f

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

RGB
223, 217, 15
HSL
58°, 87%, 47%
CMYK
0, 3, 93, 13
Luminance
0.6535

Every format

HEX#dfd90f
RGBrgb(223, 217, 15)
HSLhsl(58, 87%, 47%)
CMYKcmyk(0%, 3%, 93%, 13%)
LABlab(84.7 -16.4 82.9)
LCHlch(84.7 84.5 101.2)
OKLCHoklch(0.862 0.184 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow93.3%
Key (black)12.5%

Color previews

#dfd90f text on a black background

contrast 14.07:1

Card sample

#dfd90f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd90f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd90f in the Color Lab