Skip to content

#dfb334

a balanced, vivid yellow · warm · closest name: orange

RGB
223, 179, 52
HSL
45°, 73%, 54%
CMYK
0, 20, 77, 13
Luminance
0.4818

Every format

HEX#dfb334
RGBrgb(223, 179, 52)
HSLhsl(45, 73%, 54%)
CMYKcmyk(0%, 20%, 77%, 13%)
LABlab(74.9 3.9 66.4)
LCHlch(74.9 66.5 86.6)
OKLCHoklch(0.785 0.145 88.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb334 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#dfb334 on black: 10.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.2%
Blue20.4%

CMYK percentages

Cyan0.0%
Magenta19.7%
Yellow76.7%
Key (black)12.5%

Color previews

#dfb334 text on a black background

contrast 10.64:1

Card sample

#dfb334 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 179, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 179, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb334;
background: linear-gradient(135deg, #dfb334, #99DF34);

Monochromatic scale

Palettes built from #dfb334

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb334 in the Color Lab