Skip to content

#dfb82b

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

RGB
223, 184, 43
HSL
47°, 74%, 52%
CMYK
0, 18, 81, 13
Luminance
0.5014

Every format

HEX#dfb82b
RGBrgb(223, 184, 43)
HSLhsl(47, 74%, 52%)
CMYKcmyk(0%, 18%, 81%, 13%)
LABlab(76.2 1.0 70.4)
LCHlch(76.2 70.4 89.2)
OKLCHoklch(0.795 0.152 92.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.2%
Blue16.9%

CMYK percentages

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

Color previews

#dfb82b text on a black background

contrast 11.03:1

Card sample

#dfb82b text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb82b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb82b in the Color Lab