Skip to content

#dbd02f

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

RGB
219, 208, 47
HSL
56°, 71%, 52%
CMYK
0, 5, 79, 14
Luminance
0.6038

Every format

HEX#dbd02f
RGBrgb(219, 208, 47)
HSLhsl(56, 71%, 52%)
CMYKcmyk(0%, 5%, 79%, 14%)
LABlab(82.0 -12.9 74.3)
LCHlch(82.0 75.4 99.9)
OKLCHoklch(0.841 0.167 105.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbd02f on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#dbd02f on black: 13.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green81.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow78.5%
Key (black)14.1%

Color previews

#dbd02f text on a black background

contrast 13.08:1

Card sample

#dbd02f text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 208, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 208, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbd02f;
background: linear-gradient(135deg, #dbd02f, #73DB2F);

Monochromatic scale

Palettes built from #dbd02f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbd02f in the Color Lab