Skip to content

#dfbc25

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

RGB
223, 188, 37
HSL
49°, 74%, 51%
CMYK
0, 16, 83, 13
Luminance
0.5179

Every format

HEX#dfbc25
RGBrgb(223, 188, 37)
HSLhsl(49, 74%, 51%)
CMYKcmyk(0%, 16%, 83%, 13%)
LABlab(77.2 -1.3 72.9)
LCHlch(77.2 72.9 91.0)
OKLCHoklch(0.803 0.157 94.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green73.7%
Blue14.5%

CMYK percentages

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

Color previews

#dfbc25 text on a black background

contrast 11.36:1

Card sample

#dfbc25 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbc25

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc25 in the Color Lab