Skip to content

#dfbf2e

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

RGB
223, 191, 46
HSL
49°, 73%, 53%
CMYK
0, 14, 79, 13
Luminance
0.5315

Every format

HEX#dfbf2e
RGBrgb(223, 191, 46)
HSLhsl(49, 73%, 53%)
CMYKcmyk(0%, 14%, 79%, 13%)
LABlab(78.0 -2.6 71.1)
LCHlch(78.0 71.1 92.1)
OKLCHoklch(0.809 0.155 95.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green74.9%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta14.3%
Yellow79.4%
Key (black)12.5%

Color previews

#dfbf2e text on a black background

contrast 11.63:1

Card sample

#dfbf2e text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 191, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 191, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbf2e;
background: linear-gradient(135deg, #dfbf2e, #89DF2E);

Monochromatic scale

Palettes built from #dfbf2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbf2e in the Color Lab