Skip to content

#ddae21

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

RGB
221, 174, 33
HSL
45°, 74%, 50%
CMYK
0, 21, 85, 13
Luminance
0.4575

Every format

HEX#ddae21
RGBrgb(221, 174, 33)
HSLhsl(45, 74%, 50%)
CMYKcmyk(0%, 21%, 85%, 13%)
LABlab(73.4 5.1 70.7)
LCHlch(73.4 70.9 85.9)
OKLCHoklch(0.772 0.151 87.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddae21 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#ddae21 on black: 10.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green68.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta21.3%
Yellow85.1%
Key (black)13.3%

Color previews

#ddae21 text on a black background

contrast 10.15:1

Card sample

#ddae21 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 174, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 174, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddae21;
background: linear-gradient(135deg, #ddae21, #8FDD21);

Monochromatic scale

Palettes built from #ddae21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddae21 in the Color Lab