Skip to content

#dfbe4d

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

RGB
223, 190, 77
HSL
46°, 70%, 59%
CMYK
0, 15, 66, 13
Luminance
0.5305

Every format

HEX#dfbe4d
RGBrgb(223, 190, 77)
HSLhsl(46, 70%, 59%)
CMYKcmyk(0%, 15%, 66%, 13%)
LABlab(77.9 -0.6 59.5)
LCHlch(77.9 59.5 90.6)
OKLCHoklch(0.809 0.135 92.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green74.5%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow65.5%
Key (black)12.5%

Color previews

#dfbe4d text on a black background

contrast 11.61:1

Card sample

#dfbe4d text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbe4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe4d in the Color Lab