Skip to content

#dfbc26

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

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

Every format

HEX#dfbc26
RGBrgb(223, 188, 38)
HSLhsl(49, 74%, 51%)
CMYKcmyk(0%, 16%, 83%, 13%)
LABlab(77.2 -1.3 72.7)
LCHlch(77.2 72.7 91.0)
OKLCHoklch(0.803 0.156 94.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#dfbc26 text on a black background

contrast 11.36:1

Card sample

#dfbc26 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbc26

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc26 in the Color Lab