Skip to content

#dfbe4f

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

RGB
223, 190, 79
HSL
46°, 69%, 59%
CMYK
0, 15, 65, 13
Luminance
0.5308

Every format

HEX#dfbe4f
RGBrgb(223, 190, 79)
HSLhsl(46, 69%, 59%)
CMYKcmyk(0%, 15%, 65%, 13%)
LABlab(77.9 -0.5 58.7)
LCHlch(77.9 58.7 90.5)
OKLCHoklch(0.810 0.134 92.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green74.5%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow64.6%
Key (black)12.5%

Color previews

#dfbe4f text on a black background

contrast 11.62:1

Card sample

#dfbe4f text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbe4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe4f in the Color Lab