Skip to content

#dbc927

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

RGB
219, 201, 39
HSL
54°, 71%, 51%
CMYK
0, 8, 82, 14
Luminance
0.5698

Every format

HEX#dbc927
RGBrgb(219, 201, 39)
HSLhsl(54, 71%, 51%)
CMYKcmyk(0%, 8%, 82%, 14%)
LABlab(80.2 -9.6 74.8)
LCHlch(80.2 75.4 97.3)
OKLCHoklch(0.826 0.165 102.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green78.8%
Blue15.3%

CMYK percentages

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

Color previews

#dbc927 text on a black background

contrast 12.40:1

Card sample

#dbc927 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc927

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc927 in the Color Lab