Skip to content

#dfb554

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

RGB
223, 181, 84
HSL
42°, 69%, 60%
CMYK
0, 19, 62, 13
Luminance
0.4938

Every format

HEX#dfb554
RGBrgb(223, 181, 84)
HSLhsl(42, 69%, 60%)
CMYKcmyk(0%, 19%, 62%, 13%)
LABlab(75.7 4.5 54.0)
LCHlch(75.7 54.2 85.2)
OKLCHoklch(0.792 0.124 85.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb554 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#dfb554 on black: 10.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.0%
Blue32.9%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow62.3%
Key (black)12.5%

Color previews

#dfb554 text on a black background

contrast 10.88:1

Card sample

#dfb554 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb554

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb554 in the Color Lab