Skip to content

#c49c27

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

RGB
196, 156, 39
HSL
45°, 67%, 46%
CMYK
0, 20, 80, 23
Luminance
0.3566

Every format

HEX#c49c27
RGBrgb(196, 156, 39)
HSLhsl(45, 67%, 46%)
CMYKcmyk(0%, 20%, 80%, 23%)
LABlab(66.3 3.9 61.9)
LCHlch(66.3 62.0 86.4)
OKLCHoklch(0.711 0.134 88.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c49c27 on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#c49c27 on black: 8.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green61.2%
Blue15.3%

CMYK percentages

Cyan0.0%
Magenta20.4%
Yellow80.1%
Key (black)23.1%

Color previews

#c49c27 text on a black background

contrast 8.13:1

Card sample

#c49c27 text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 156, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 156, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c49c27;
background: linear-gradient(135deg, #c49c27, #83C427);

Monochromatic scale

Palettes built from #c49c27

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49c27 in the Color Lab