Skip to content

#dbcb39

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

RGB
219, 203, 57
HSL
54°, 69%, 54%
CMYK
0, 7, 74, 14
Luminance
0.5807

Every format

HEX#dbcb39
RGBrgb(219, 203, 57)
HSLhsl(54, 69%, 54%)
CMYKcmyk(0%, 7%, 74%, 14%)
LABlab(80.8 -10.0 70.0)
LCHlch(80.8 70.7 98.1)
OKLCHoklch(0.831 0.158 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbcb39 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#dbcb39 on black: 12.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green79.6%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow74.0%
Key (black)14.1%

Color previews

#dbcb39 text on a black background

contrast 12.61:1

Card sample

#dbcb39 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 203, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 203, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbcb39;
background: linear-gradient(135deg, #dbcb39, #7FDB39);

Monochromatic scale

Palettes built from #dbcb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbcb39 in the Color Lab