Skip to content

#dfdb0f

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

RGB
223, 219, 15
HSL
59°, 87%, 47%
CMYK
0, 2, 93, 13
Luminance
0.6639

Every format

HEX#dfdb0f
RGBrgb(223, 219, 15)
HSLhsl(59, 87%, 47%)
CMYKcmyk(0%, 2%, 93%, 13%)
LABlab(85.2 -17.4 83.3)
LCHlch(85.2 85.1 101.8)
OKLCHoklch(0.866 0.185 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdb0f on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#dfdb0f on black: 14.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow93.3%
Key (black)12.5%

Color previews

#dfdb0f text on a black background

contrast 14.28:1

Card sample

#dfdb0f text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb0f in the Color Lab