Skip to content

#dfd92f

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

RGB
223, 217, 47
HSL
58°, 73%, 53%
CMYK
0, 3, 79, 13
Luminance
0.6552

Every format

HEX#dfd92f
RGBrgb(223, 217, 47)
HSLhsl(58, 73%, 53%)
CMYKcmyk(0%, 3%, 79%, 13%)
LABlab(84.8 -15.7 76.8)
LCHlch(84.8 78.4 101.6)
OKLCHoklch(0.863 0.174 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green85.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta2.7%
Yellow78.9%
Key (black)12.5%

Color previews

#dfd92f text on a black background

contrast 14.10:1

Card sample

#dfd92f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd92f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd92f in the Color Lab