Skip to content

#dfbc30

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

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

Every format

HEX#dfbc30
RGBrgb(223, 188, 48)
HSLhsl(48, 73%, 53%)
CMYKcmyk(0%, 16%, 79%, 13%)
LABlab(77.2 -0.9 69.8)
LCHlch(77.2 69.8 90.8)
OKLCHoklch(0.803 0.152 94.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green73.7%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow78.5%
Key (black)12.5%

Color previews

#dfbc30 text on a black background

contrast 11.37:1

Card sample

#dfbc30 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbc30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc30 in the Color Lab