Skip to content

#dab621

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

RGB
218, 182, 33
HSL
48°, 74%, 49%
CMYK
0, 17, 85, 15
Luminance
0.4847

Every format

HEX#dab621
RGBrgb(218, 182, 33)
HSLhsl(48, 74%, 49%)
CMYKcmyk(0%, 17%, 85%, 15%)
LABlab(75.1 -0.4 72.0)
LCHlch(75.1 72.0 90.3)
OKLCHoklch(0.785 0.154 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dab621 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#dab621 on black: 10.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green71.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow84.9%
Key (black)14.5%

Color previews

#dab621 text on a black background

contrast 10.69:1

Card sample

#dab621 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dab621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dab621 in the Color Lab