Skip to content

#dbc931

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

RGB
219, 201, 49
HSL
54°, 70%, 53%
CMYK
0, 8, 78, 14
Luminance
0.5706

Every format

HEX#dbc931
RGBrgb(219, 201, 49)
HSLhsl(54, 70%, 53%)
CMYKcmyk(0%, 8%, 78%, 14%)
LABlab(80.2 -9.3 72.0)
LCHlch(80.2 72.6 97.4)
OKLCHoklch(0.826 0.160 102.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbc931 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#dbc931 on black: 12.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green78.8%
Blue19.2%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow77.6%
Key (black)14.1%

Color previews

#dbc931 text on a black background

contrast 12.41:1

Card sample

#dbc931 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc931

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc931 in the Color Lab