Skip to content

#dfb55c

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

RGB
223, 181, 92
HSL
41°, 67%, 62%
CMYK
0, 19, 59, 13
Luminance
0.4951

Every format

HEX#dfb55c
RGBrgb(223, 181, 92)
HSLhsl(41, 67%, 62%)
CMYKcmyk(0%, 19%, 59%, 13%)
LABlab(75.8 5.1 50.3)
LCHlch(75.8 50.6 84.3)
OKLCHoklch(0.793 0.118 84.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green71.0%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow58.7%
Key (black)12.5%

Color previews

#dfb55c text on a black background

contrast 10.90:1

Card sample

#dfb55c text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb55c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb55c in the Color Lab