Skip to content

#dfb55f

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

RGB
223, 181, 95
HSL
40°, 67%, 62%
CMYK
0, 19, 57, 13
Luminance
0.4956

Every format

HEX#dfb55f
RGBrgb(223, 181, 95)
HSLhsl(40, 67%, 62%)
CMYKcmyk(0%, 19%, 57%, 13%)
LABlab(75.8 5.3 48.9)
LCHlch(75.8 49.2 83.8)
OKLCHoklch(0.793 0.115 83.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb55f on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#dfb55f on black: 10.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.0%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow57.4%
Key (black)12.5%

Color previews

#dfb55f text on a black background

contrast 10.91:1

Card sample

#dfb55f text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb55f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb55f in the Color Lab