Skip to content

#dfbe2f

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

RGB
223, 190, 47
HSL
49°, 73%, 53%
CMYK
0, 15, 79, 13
Luminance
0.5272

Every format

HEX#dfbe2f
RGBrgb(223, 190, 47)
HSLhsl(49, 73%, 53%)
CMYKcmyk(0%, 15%, 79%, 13%)
LABlab(77.7 -2.0 70.5)
LCHlch(77.7 70.6 91.6)
OKLCHoklch(0.807 0.153 95.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbe2f on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#dfbe2f on black: 11.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta14.8%
Yellow78.9%
Key (black)12.5%

Color previews

#dfbe2f text on a black background

contrast 11.54:1

Card sample

#dfbe2f text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbe2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe2f in the Color Lab