Skip to content

#dbc917

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

RGB
219, 201, 23
HSL
55°, 81%, 48%
CMYK
0, 8, 90, 14
Luminance
0.5690

Every format

HEX#dbc917
RGBrgb(219, 201, 23)
HSLhsl(55, 81%, 48%)
CMYKcmyk(0%, 8%, 90%, 14%)
LABlab(80.1 -10.0 78.1)
LCHlch(80.1 78.8 97.3)
OKLCHoklch(0.825 0.170 102.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbc917 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#dbc917 on black: 12.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green78.8%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow89.5%
Key (black)14.1%

Color previews

#dbc917 text on a black background

contrast 12.38:1

Card sample

#dbc917 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 201, 23, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 201, 23, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbc917;
background: linear-gradient(135deg, #dbc917, #6ADB17);

Monochromatic scale

Palettes built from #dbc917

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc917 in the Color Lab