Skip to content

#dfd925

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

RGB
223, 217, 37
HSL
58°, 74%, 51%
CMYK
0, 3, 83, 13
Luminance
0.6545

Every format

HEX#dfd925
RGBrgb(223, 217, 37)
HSLhsl(58, 74%, 51%)
CMYKcmyk(0%, 3%, 83%, 13%)
LABlab(84.7 -16.0 79.2)
LCHlch(84.7 80.8 101.4)
OKLCHoklch(0.863 0.178 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.1%
Blue14.5%

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow83.4%
Key (black)12.5%

Color previews

#dfd925 text on a black background

contrast 14.09:1

Card sample

#dfd925 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd925

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd925 in the Color Lab