Skip to content

#dfb00b

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

RGB
223, 176, 11
HSL
47°, 91%, 46%
CMYK
0, 21, 95, 13
Luminance
0.4676

Every format

HEX#dfb00b
RGBrgb(223, 176, 11)
HSLhsl(47, 91%, 46%)
CMYKcmyk(0%, 21%, 95%, 13%)
LABlab(74.0 4.5 75.4)
LCHlch(74.0 75.6 86.6)
OKLCHoklch(0.778 0.157 89.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb00b on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#dfb00b on black: 10.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.0%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow95.1%
Key (black)12.5%

Color previews

#dfb00b text on a black background

contrast 10.35:1

Card sample

#dfb00b text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 176, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 176, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb00b;
background: linear-gradient(135deg, #dfb00b, #81DF0B);

Monochromatic scale

Palettes built from #dfb00b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb00b in the Color Lab