Skip to content

#dfb82c

a balanced, vivid yellow · cool · closest name: gold

RGB
223, 184, 44
HSL
47°, 74%, 52%
CMYK
0, 18, 80, 13
Luminance
0.5015

Every format

HEX#dfb82c
RGBrgb(223, 184, 44)
HSLhsl(47, 74%, 52%)
CMYKcmyk(0%, 18%, 80%, 13%)
LABlab(76.2 1.0 70.1)
LCHlch(76.2 70.1 89.2)
OKLCHoklch(0.795 0.151 92.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb82c on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#dfb82c on black: 11.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.2%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta17.5%
Yellow80.3%
Key (black)12.5%

Color previews

#dfb82c text on a black background

contrast 11.03:1

Card sample

#dfb82c text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 184, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 184, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb82c;
background: linear-gradient(135deg, #dfb82c, #8FDF2C);

Monochromatic scale

Palettes built from #dfb82c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb82c in the Color Lab