Skip to content

#dfd628

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

RGB
223, 214, 40
HSL
57°, 74%, 52%
CMYK
0, 4, 82, 13
Luminance
0.6393

Every format

HEX#dfd628
RGBrgb(223, 214, 40)
HSLhsl(57, 74%, 52%)
CMYKcmyk(0%, 4%, 82%, 13%)
LABlab(83.9 -14.4 77.9)
LCHlch(83.9 79.2 100.5)
OKLCHoklch(0.857 0.174 106.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd628 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#dfd628 on black: 13.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.9%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow82.1%
Key (black)12.5%

Color previews

#dfd628 text on a black background

contrast 13.79:1

Card sample

#dfd628 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd628

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd628 in the Color Lab