Skip to content

#dda518

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

RGB
221, 165, 24
HSL
43°, 80%, 48%
CMYK
0, 25, 89, 13
Luminance
0.4235

Every format

HEX#dda518
RGBrgb(221, 165, 24)
HSLhsl(43, 80%, 48%)
CMYKcmyk(0%, 25%, 89%, 13%)
LABlab(71.1 9.7 71.0)
LCHlch(71.1 71.7 82.3)
OKLCHoklch(0.754 0.150 83.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green64.7%
Blue9.4%

CMYK percentages

Cyan0.0%
Magenta25.3%
Yellow89.1%
Key (black)13.3%

Color previews

#dda518 text on a black background

contrast 9.47:1

Card sample

#dda518 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dda518

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dda518 in the Color Lab