Skip to content

#dfbe5f

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

RGB
223, 190, 95
HSL
45°, 67%, 62%
CMYK
0, 15, 57, 13
Luminance
0.5334

Every format

HEX#dfbe5f
RGBrgb(223, 190, 95)
HSLhsl(45, 67%, 62%)
CMYKcmyk(0%, 15%, 57%, 13%)
LABlab(78.1 0.6 51.5)
LCHlch(78.1 51.5 89.4)
OKLCHoklch(0.811 0.120 90.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbe5f on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#dfbe5f on black: 11.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.5%
Blue37.3%

CMYK percentages

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

Color previews

#dfbe5f text on a black background

contrast 11.67:1

Card sample

#dfbe5f text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbe5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe5f in the Color Lab