Skip to content

#dfb604

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

RGB
223, 182, 4
HSL
49°, 97%, 45%
CMYK
0, 18, 98, 13
Luminance
0.4915

Every format

HEX#dfb604
RGBrgb(223, 182, 4)
HSLhsl(49, 97%, 45%)
CMYKcmyk(0%, 18%, 98%, 13%)
LABlab(75.5 1.3 77.3)
LCHlch(75.5 77.3 89.0)
OKLCHoklch(0.790 0.161 92.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb604 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#dfb604 on black: 10.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue1.6%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow98.2%
Key (black)12.5%

Color previews

#dfb604 text on a black background

contrast 10.83:1

Card sample

#dfb604 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 182, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 182, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb604;
background: linear-gradient(135deg, #dfb604, #76DF04);

Monochromatic scale

Palettes built from #dfb604

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb604 in the Color Lab