Skip to content

#dbc918

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

RGB
219, 201, 24
HSL
55°, 80%, 48%
CMYK
0, 8, 89, 14
Luminance
0.5690

Every format

HEX#dbc918
RGBrgb(219, 201, 24)
HSLhsl(55, 80%, 48%)
CMYKcmyk(0%, 8%, 89%, 14%)
LABlab(80.1 -10.0 78.0)
LCHlch(80.1 78.6 97.3)
OKLCHoklch(0.825 0.169 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbc918 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#dbc918 on black: 12.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green78.8%
Blue9.4%

CMYK percentages

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

Color previews

#dbc918 text on a black background

contrast 12.38:1

Card sample

#dbc918 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc918

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc918 in the Color Lab