Skip to content

#dfbc2e

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

RGB
223, 188, 46
HSL
48°, 73%, 53%
CMYK
0, 16, 79, 13
Luminance
0.5185

Every format

HEX#dfbc2e
RGBrgb(223, 188, 46)
HSLhsl(48, 73%, 53%)
CMYKcmyk(0%, 16%, 79%, 13%)
LABlab(77.2 -1.0 70.4)
LCHlch(77.2 70.4 90.8)
OKLCHoklch(0.803 0.153 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green73.7%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow79.4%
Key (black)12.5%

Color previews

#dfbc2e text on a black background

contrast 11.37:1

Card sample

#dfbc2e text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbc2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc2e in the Color Lab