Skip to content

#dfb10c

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

RGB
223, 177, 12
HSL
47°, 90%, 46%
CMYK
0, 21, 95, 13
Luminance
0.4716

Every format

HEX#dfb10c
RGBrgb(223, 177, 12)
HSLhsl(47, 90%, 46%)
CMYKcmyk(0%, 21%, 95%, 13%)
LABlab(74.3 4.0 75.5)
LCHlch(74.3 75.6 87.0)
OKLCHoklch(0.780 0.158 89.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.4%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta20.6%
Yellow94.6%
Key (black)12.5%

Color previews

#dfb10c text on a black background

contrast 10.43:1

Card sample

#dfb10c text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb10c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb10c in the Color Lab