Skip to content

#dbab2f

a balanced, vivid yellow · warm · closest name: orange

RGB
219, 171, 47
HSL
43°, 71%, 52%
CMYK
0, 22, 79, 14
Luminance
0.4439

Every format

HEX#dbab2f
RGBrgb(219, 171, 47)
HSLhsl(43, 71%, 52%)
CMYKcmyk(0%, 22%, 79%, 14%)
LABlab(72.5 6.2 65.7)
LCHlch(72.5 66.0 84.6)
OKLCHoklch(0.765 0.143 86.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbab2f on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#dbab2f on black: 9.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green67.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta21.9%
Yellow78.5%
Key (black)14.1%

Color previews

#dbab2f text on a black background

contrast 9.88:1

Card sample

#dbab2f text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbab2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbab2f in the Color Lab