Skip to content

#d2a621

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

RGB
210, 166, 33
HSL
45°, 73%, 48%
CMYK
0, 21, 84, 18
Luminance
0.4108

Every format

HEX#d2a621
RGBrgb(210, 166, 33)
HSLhsl(45, 73%, 48%)
CMYKcmyk(0%, 21%, 84%, 18%)
LABlab(70.2 4.5 67.7)
LCHlch(70.2 67.8 86.2)
OKLCHoklch(0.745 0.144 88.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2a621 on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#d2a621 on black: 9.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green65.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta21.0%
Yellow84.3%
Key (black)17.6%

Color previews

#d2a621 text on a black background

contrast 9.22:1

Card sample

#d2a621 text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 166, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 166, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2a621;
background: linear-gradient(135deg, #d2a621, #88D221);

Monochromatic scale

Palettes built from #d2a621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2a621 in the Color Lab