Skip to content

#dbcb2f

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

RGB
219, 203, 47
HSL
54°, 71%, 52%
CMYK
0, 7, 79, 14
Luminance
0.5798

Every format

HEX#dbcb2f
RGBrgb(219, 203, 47)
HSLhsl(54, 71%, 52%)
CMYKcmyk(0%, 7%, 79%, 14%)
LABlab(80.7 -10.4 73.1)
LCHlch(80.7 73.8 98.1)
OKLCHoklch(0.830 0.163 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbcb2f on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#dbcb2f on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green79.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow78.5%
Key (black)14.1%

Color previews

#dbcb2f text on a black background

contrast 12.60:1

Card sample

#dbcb2f text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbcb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbcb2f in the Color Lab