Skip to content

#dfbb4f

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

RGB
223, 187, 79
HSL
45°, 69%, 59%
CMYK
0, 16, 65, 13
Luminance
0.5179

Every format

HEX#dfbb4f
RGBrgb(223, 187, 79)
HSLhsl(45, 69%, 59%)
CMYKcmyk(0%, 16%, 65%, 13%)
LABlab(77.2 1.0 57.8)
LCHlch(77.2 57.8 89.0)
OKLCHoklch(0.804 0.132 90.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbb4f on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#dfbb4f on black: 11.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green73.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow64.6%
Key (black)12.5%

Color previews

#dfbb4f text on a black background

contrast 11.36:1

Card sample

#dfbb4f text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbb4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbb4f in the Color Lab