Skip to content

#c49021

a dark, vivid yellow · warm · closest name: peru

RGB
196, 144, 33
HSL
41°, 71%, 45%
CMYK
0, 27, 83, 23
Luminance
0.3179

Every format

HEX#c49021
RGBrgb(196, 144, 33)
HSLhsl(41, 71%, 45%)
CMYKcmyk(0%, 27%, 83%, 23%)
LABlab(63.2 10.2 61.1)
LCHlch(63.2 61.9 80.5)
OKLCHoklch(0.686 0.133 80.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c49021 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#c49021 on black: 7.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green56.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta26.5%
Yellow83.2%
Key (black)23.1%

Color previews

#c49021 text on a black background

contrast 7.36:1

Card sample

#c49021 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c49021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49021 in the Color Lab