Skip to content

#c59d21

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

RGB
197, 157, 33
HSL
45°, 71%, 45%
CMYK
0, 20, 83, 23
Luminance
0.3609

Every format

HEX#c59d21
RGBrgb(197, 157, 33)
HSLhsl(45, 71%, 45%)
CMYKcmyk(0%, 20%, 83%, 23%)
LABlab(66.6 3.6 64.1)
LCHlch(66.6 64.2 86.8)
OKLCHoklch(0.713 0.137 89.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c59d21 on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#c59d21 on black: 8.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green61.6%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta20.3%
Yellow83.2%
Key (black)22.7%

Color previews

#c59d21 text on a black background

contrast 8.22:1

Card sample

#c59d21 text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(197, 157, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(197, 157, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c59d21;
background: linear-gradient(135deg, #c59d21, #80C521);

Monochromatic scale

Palettes built from #c59d21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c59d21 in the Color Lab