Skip to content

#dbc934

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

RGB
219, 201, 52
HSL
54°, 70%, 53%
CMYK
0, 8, 76, 14
Luminance
0.5708

Every format

HEX#dbc934
RGBrgb(219, 201, 52)
HSLhsl(54, 70%, 53%)
CMYKcmyk(0%, 8%, 76%, 14%)
LABlab(80.2 -9.2 71.1)
LCHlch(80.2 71.7 97.4)
OKLCHoklch(0.826 0.159 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green78.8%
Blue20.4%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow76.3%
Key (black)14.1%

Color previews

#dbc934 text on a black background

contrast 12.42:1

Card sample

#dbc934 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc934

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc934 in the Color Lab