Skip to content

#dfbb0f

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

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

Every format

HEX#dfbb0f
RGBrgb(223, 187, 15)
HSLhsl(50, 87%, 47%)
CMYKcmyk(0%, 16%, 93%, 13%)
LABlab(76.8 -1.2 77.0)
LCHlch(76.8 77.0 90.9)
OKLCHoklch(0.800 0.162 94.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbb0f on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#dfbb0f on black: 11.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green73.3%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow93.3%
Key (black)12.5%

Color previews

#dfbb0f text on a black background

contrast 11.25:1

Card sample

#dfbb0f text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbb0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbb0f in the Color Lab