Skip to content

#dfb02f

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

RGB
223, 176, 47
HSL
44°, 73%, 53%
CMYK
0, 21, 79, 13
Luminance
0.4694

Every format

HEX#dfb02f
RGBrgb(223, 176, 47)
HSLhsl(44, 73%, 53%)
CMYKcmyk(0%, 21%, 79%, 13%)
LABlab(74.2 5.3 67.3)
LCHlch(74.2 67.6 85.5)
OKLCHoklch(0.779 0.146 87.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.0%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow78.9%
Key (black)12.5%

Color previews

#dfb02f text on a black background

contrast 10.39:1

Card sample

#dfb02f text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb02f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb02f in the Color Lab