Skip to content

#dab921

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

RGB
218, 185, 33
HSL
49°, 74%, 49%
CMYK
0, 15, 85, 15
Luminance
0.4971

Every format

HEX#dab921
RGBrgb(218, 185, 33)
HSLhsl(49, 74%, 49%)
CMYKcmyk(0%, 15%, 85%, 15%)
LABlab(75.9 -2.0 72.7)
LCHlch(75.9 72.7 91.6)
OKLCHoklch(0.792 0.156 95.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dab921 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#dab921 on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green72.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta15.1%
Yellow84.9%
Key (black)14.5%

Color previews

#dab921 text on a black background

contrast 10.94:1

Card sample

#dab921 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 185, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 185, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dab921;
background: linear-gradient(135deg, #dab921, #80DA21);

Monochromatic scale

Palettes built from #dab921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dab921 in the Color Lab