Skip to content

#dfb02d

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

RGB
223, 176, 45
HSL
44°, 74%, 53%
CMYK
0, 21, 80, 13
Luminance
0.4693

Every format

HEX#dfb02d
RGBrgb(223, 176, 45)
HSLhsl(44, 74%, 53%)
CMYKcmyk(0%, 21%, 80%, 13%)
LABlab(74.2 5.2 68.0)
LCHlch(74.2 68.2 85.6)
OKLCHoklch(0.779 0.147 87.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb02d on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#dfb02d on black: 10.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.0%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow79.8%
Key (black)12.5%

Color previews

#dfb02d text on a black background

contrast 10.39:1

Card sample

#dfb02d text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb02d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb02d in the Color Lab