Skip to content

#ddaf39

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

RGB
221, 175, 57
HSL
43°, 71%, 55%
CMYK
0, 21, 74, 13
Luminance
0.4633

Every format

HEX#ddaf39
RGBrgb(221, 175, 57)
HSLhsl(43, 71%, 55%)
CMYKcmyk(0%, 21%, 74%, 13%)
LABlab(73.8 5.4 63.4)
LCHlch(73.8 63.6 85.2)
OKLCHoklch(0.776 0.140 86.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddaf39 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#ddaf39 on black: 10.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green68.6%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta20.8%
Yellow74.2%
Key (black)13.3%

Color previews

#ddaf39 text on a black background

contrast 10.27:1

Card sample

#ddaf39 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 175, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 175, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddaf39;
background: linear-gradient(135deg, #ddaf39, #9EDD39);

Monochromatic scale

Palettes built from #ddaf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddaf39 in the Color Lab