Skip to content

#dfbe3d

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

RGB
223, 190, 61
HSL
48°, 72%, 56%
CMYK
0, 15, 73, 13
Luminance
0.5285

Every format

HEX#dfbe3d
RGBrgb(223, 190, 61)
HSLhsl(48, 72%, 56%)
CMYKcmyk(0%, 15%, 73%, 13%)
LABlab(77.8 -1.5 65.8)
LCHlch(77.8 65.8 91.3)
OKLCHoklch(0.808 0.146 94.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green74.5%
Blue23.9%

CMYK percentages

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

Color previews

#dfbe3d text on a black background

contrast 11.57:1

Card sample

#dfbe3d text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbe3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbe3d in the Color Lab