Skip to content

#dda515

a balanced, electric yellow · warm · closest name: orange

RGB
221, 165, 21
HSL
43°, 83%, 48%
CMYK
0, 25, 91, 13
Luminance
0.4234

Every format

HEX#dda515
RGBrgb(221, 165, 21)
HSLhsl(43, 83%, 48%)
CMYKcmyk(0%, 25%, 91%, 13%)
LABlab(71.1 9.6 71.6)
LCHlch(71.1 72.3 82.4)
OKLCHoklch(0.754 0.151 83.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dda515 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#dda515 on black: 9.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green64.7%
Blue8.2%

CMYK percentages

Cyan0.0%
Magenta25.3%
Yellow90.5%
Key (black)13.3%

Color previews

#dda515 text on a black background

contrast 9.47:1

Card sample

#dda515 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 165, 21, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 165, 21, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dda515;
background: linear-gradient(135deg, #dda515, #90DD15);

Monochromatic scale

Palettes built from #dda515

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dda515 in the Color Lab