Skip to content

#dfb10f

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

RGB
223, 177, 15
HSL
47°, 87%, 47%
CMYK
0, 21, 93, 13
Luminance
0.4717

Every format

HEX#dfb10f
RGBrgb(223, 177, 15)
HSLhsl(47, 87%, 47%)
CMYKcmyk(0%, 21%, 93%, 13%)
LABlab(74.3 4.0 75.1)
LCHlch(74.3 75.2 86.9)
OKLCHoklch(0.780 0.157 89.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb10f on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#dfb10f on black: 10.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.4%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta20.6%
Yellow93.3%
Key (black)12.5%

Color previews

#dfb10f text on a black background

contrast 10.43:1

Card sample

#dfb10f text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb10f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb10f in the Color Lab