Skip to content

#dfb93b

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

RGB
223, 185, 59
HSL
46°, 72%, 55%
CMYK
0, 17, 74, 13
Luminance
0.5070

Every format

HEX#dfb93b
RGBrgb(223, 185, 59)
HSLhsl(46, 72%, 55%)
CMYKcmyk(0%, 17%, 74%, 13%)
LABlab(76.5 1.0 65.3)
LCHlch(76.5 65.3 89.1)
OKLCHoklch(0.798 0.144 91.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb93b on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#dfb93b on black: 11.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.5%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow73.5%
Key (black)12.5%

Color previews

#dfb93b text on a black background

contrast 11.14:1

Card sample

#dfb93b text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb93b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb93b in the Color Lab