Skip to content

#dfb80b

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

RGB
223, 184, 11
HSL
49°, 91%, 46%
CMYK
0, 18, 95, 13
Luminance
0.4999

Every format

HEX#dfb80b
RGBrgb(223, 184, 11)
HSLhsl(49, 91%, 46%)
CMYKcmyk(0%, 18%, 95%, 13%)
LABlab(76.1 0.3 76.9)
LCHlch(76.1 76.9 89.8)
OKLCHoklch(0.794 0.161 93.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb80b on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#dfb80b on black: 11.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.2%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta17.5%
Yellow95.1%
Key (black)12.5%

Color previews

#dfb80b text on a black background

contrast 11.00:1

Card sample

#dfb80b text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb80b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb80b in the Color Lab