Skip to content

#c49f21

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

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

Every format

HEX#c49f21
RGBrgb(196, 159, 33)
HSLhsl(46, 71%, 45%)
CMYKcmyk(0%, 19%, 83%, 23%)
LABlab(67.0 2.1 64.4)
LCHlch(67.0 64.4 88.1)
OKLCHoklch(0.716 0.138 90.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c49f21 on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#c49f21 on black: 8.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green62.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta18.9%
Yellow83.2%
Key (black)23.1%

Color previews

#c49f21 text on a black background

contrast 8.33:1

Card sample

#c49f21 text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c49f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49f21 in the Color Lab