Skip to content

#dfb031

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

RGB
223, 176, 49
HSL
44°, 73%, 53%
CMYK
0, 21, 78, 13
Luminance
0.4696

Every format

HEX#dfb031
RGBrgb(223, 176, 49)
HSLhsl(44, 73%, 53%)
CMYKcmyk(0%, 21%, 78%, 13%)
LABlab(74.2 5.4 66.7)
LCHlch(74.2 66.9 85.4)
OKLCHoklch(0.779 0.145 87.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.0%
Blue19.2%

CMYK percentages

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

Color previews

#dfb031 text on a black background

contrast 10.39:1

Card sample

#dfb031 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb031

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb031 in the Color Lab