Skip to content

#dbb128

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

RGB
219, 177, 40
HSL
46°, 71%, 51%
CMYK
0, 19, 82, 14
Luminance
0.4666

Every format

HEX#dbb128
RGBrgb(219, 177, 40)
HSLhsl(46, 71%, 51%)
CMYKcmyk(0%, 19%, 82%, 14%)
LABlab(74.0 2.8 69.2)
LCHlch(74.0 69.3 87.7)
OKLCHoklch(0.777 0.149 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbb128 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#dbb128 on black: 10.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green69.4%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta19.2%
Yellow81.7%
Key (black)14.1%

Color previews

#dbb128 text on a black background

contrast 10.33:1

Card sample

#dbb128 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbb128

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbb128 in the Color Lab