Skip to content

#dfb101

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

RGB
223, 177, 1
HSL
48°, 99%, 44%
CMYK
0, 21, 100, 13
Luminance
0.4713

Every format

HEX#dfb101
RGBrgb(223, 177, 1)
HSLhsl(48, 99%, 44%)
CMYKcmyk(0%, 21%, 100%, 13%)
LABlab(74.3 3.9 76.7)
LCHlch(74.3 76.8 87.1)
OKLCHoklch(0.780 0.159 89.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.4%
Blue0.4%

CMYK percentages

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

Color previews

#dfb101 text on a black background

contrast 10.43:1

Card sample

#dfb101 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb101

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb101 in the Color Lab