Skip to content

#dfbc0f

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

RGB
223, 188, 15
HSL
50°, 87%, 47%
CMYK
0, 16, 93, 13
Luminance
0.5169

Every format

HEX#dfbc0f
RGBrgb(223, 188, 15)
HSLhsl(50, 87%, 47%)
CMYKcmyk(0%, 16%, 93%, 13%)
LABlab(77.1 -1.7 77.2)
LCHlch(77.1 77.2 91.3)
OKLCHoklch(0.802 0.163 95.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green73.7%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow93.3%
Key (black)12.5%

Color previews

#dfbc0f text on a black background

contrast 11.34:1

Card sample

#dfbc0f text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbc0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc0f in the Color Lab