Skip to content

#dbc922

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

RGB
219, 201, 34
HSL
54°, 73%, 50%
CMYK
0, 8, 85, 14
Luminance
0.5695

Every format

HEX#dbc922
RGBrgb(219, 201, 34)
HSLhsl(54, 73%, 50%)
CMYKcmyk(0%, 8%, 85%, 14%)
LABlab(80.2 -9.8 76.0)
LCHlch(80.2 76.6 97.3)
OKLCHoklch(0.826 0.167 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green78.8%
Blue13.3%

CMYK percentages

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

Color previews

#dbc922 text on a black background

contrast 12.39:1

Card sample

#dbc922 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc922

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc922 in the Color Lab