Skip to content

#dbc939

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

RGB
219, 201, 57
HSL
53°, 69%, 54%
CMYK
0, 8, 74, 14
Luminance
0.5713

Every format

HEX#dbc939
RGBrgb(219, 201, 57)
HSLhsl(53, 69%, 54%)
CMYKcmyk(0%, 8%, 74%, 14%)
LABlab(80.3 -9.0 69.5)
LCHlch(80.3 70.1 97.4)
OKLCHoklch(0.827 0.156 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green78.8%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow74.0%
Key (black)14.1%

Color previews

#dbc939 text on a black background

contrast 12.43:1

Card sample

#dbc939 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc939

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc939 in the Color Lab