Skip to content

#dfbe49

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

RGB
223, 190, 73
HSL
47°, 70%, 58%
CMYK
0, 15, 67, 13
Luminance
0.5300

Every format

HEX#dfbe49
RGBrgb(223, 190, 73)
HSLhsl(47, 70%, 58%)
CMYKcmyk(0%, 15%, 67%, 13%)
LABlab(77.9 -0.9 61.2)
LCHlch(77.9 61.2 90.8)
OKLCHoklch(0.809 0.138 93.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbe49 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#dfbe49 on black: 11.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.5%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow67.3%
Key (black)12.5%

Color previews

#dfbe49 text on a black background

contrast 11.60:1

Card sample

#dfbe49 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbe49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe49 in the Color Lab