Skip to content

#c49e21

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

RGB
196, 158, 33
HSL
46°, 71%, 45%
CMYK
0, 19, 83, 23
Luminance
0.3630

Every format

HEX#c49e21
RGBrgb(196, 158, 33)
HSLhsl(46, 71%, 45%)
CMYKcmyk(0%, 19%, 83%, 23%)
LABlab(66.8 2.6 64.2)
LCHlch(66.8 64.2 87.7)
OKLCHoklch(0.714 0.138 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c49e21 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#c49e21 on black: 8.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green62.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta19.4%
Yellow83.2%
Key (black)23.1%

Color previews

#c49e21 text on a black background

contrast 8.26:1

Card sample

#c49e21 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 158, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 158, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c49e21;
background: linear-gradient(135deg, #c49e21, #7DC421);

Monochromatic scale

Palettes built from #c49e21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49e21 in the Color Lab