Skip to content

#dbc908

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

RGB
219, 201, 8
HSL
55°, 93%, 45%
CMYK
0, 8, 96, 14
Luminance
0.5685

Every format

HEX#dbc908
RGBrgb(219, 201, 8)
HSLhsl(55, 93%, 45%)
CMYKcmyk(0%, 8%, 96%, 14%)
LABlab(80.1 -10.2 80.0)
LCHlch(80.1 80.7 97.3)
OKLCHoklch(0.825 0.172 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green78.8%
Blue3.1%

CMYK percentages

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

Color previews

#dbc908 text on a black background

contrast 12.37:1

Card sample

#dbc908 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbc908

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbc908 in the Color Lab