Skip to content

#c49f13

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

RGB
196, 159, 19
HSL
48°, 82%, 42%
CMYK
0, 19, 90, 23
Luminance
0.3658

Every format

HEX#c49f13
RGBrgb(196, 159, 19)
HSLhsl(48, 82%, 42%)
CMYKcmyk(0%, 19%, 90%, 23%)
LABlab(67.0 1.8 67.7)
LCHlch(67.0 67.7 88.5)
OKLCHoklch(0.716 0.143 91.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c49f13 on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#c49f13 on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green62.4%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta18.9%
Yellow90.3%
Key (black)23.1%

Color previews

#c49f13 text on a black background

contrast 8.32:1

Card sample

#c49f13 text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c49f13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c49f13 in the Color Lab