Skip to content

#d59f21

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

RGB
213, 159, 33
HSL
42°, 73%, 48%
CMYK
0, 25, 85, 17
Luminance
0.3905

Every format

HEX#d59f21
RGBrgb(213, 159, 33)
HSLhsl(42, 73%, 48%)
CMYKcmyk(0%, 25%, 85%, 17%)
LABlab(68.8 9.6 66.6)
LCHlch(68.8 67.3 81.8)
OKLCHoklch(0.735 0.143 82.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d59f21 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#d59f21 on black: 8.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.5%
Green62.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta25.4%
Yellow84.5%
Key (black)16.5%

Color previews

#d59f21 text on a black background

contrast 8.81:1

Card sample

#d59f21 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(213, 159, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(213, 159, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d59f21;
background: linear-gradient(135deg, #d59f21, #93D521);

Monochromatic scale

Palettes built from #d59f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d59f21 in the Color Lab