Skip to content

#dfbc33

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

RGB
223, 188, 51
HSL
48°, 73%, 54%
CMYK
0, 16, 77, 13
Luminance
0.5189

Every format

HEX#dfbc33
RGBrgb(223, 188, 51)
HSLhsl(48, 73%, 54%)
CMYKcmyk(0%, 16%, 77%, 13%)
LABlab(77.2 -0.8 68.8)
LCHlch(77.2 68.8 90.7)
OKLCHoklch(0.803 0.150 93.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green73.7%
Blue20.0%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow77.1%
Key (black)12.5%

Color previews

#dfbc33 text on a black background

contrast 11.38:1

Card sample

#dfbc33 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbc33

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc33 in the Color Lab