Skip to content

#dfb950

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

RGB
223, 185, 80
HSL
44°, 69%, 59%
CMYK
0, 17, 64, 13
Luminance
0.5097

Every format

HEX#dfb950
RGBrgb(223, 185, 80)
HSLhsl(44, 69%, 59%)
CMYKcmyk(0%, 17%, 64%, 13%)
LABlab(76.7 2.1 56.9)
LCHlch(76.7 56.9 87.8)
OKLCHoklch(0.800 0.130 89.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb950 on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#dfb950 on black: 11.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.5%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow64.1%
Key (black)12.5%

Color previews

#dfb950 text on a black background

contrast 11.19:1

Card sample

#dfb950 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb950 in the Color Lab