Skip to content

#8c7213

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

RGB
140, 114, 19
HSL
47°, 76%, 31%
CMYK
0, 19, 86, 45
Luminance
0.1766

Every format

HEX#8c7213
RGBrgb(140, 114, 19)
HSLhsl(47, 76%, 31%)
CMYKcmyk(0%, 19%, 86%, 45%)
LABlab(49.1 0.9 50.9)
LCHlch(49.1 50.9 89.0)
OKLCHoklch(0.561 0.109 91.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c7213 on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#8c7213 on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green44.7%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta18.6%
Yellow86.4%
Key (black)45.1%

Color previews

#8c7213 text on a black background

contrast 4.53:1

Card sample

#8c7213 text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 114, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 114, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c7213;
background: linear-gradient(135deg, #8c7213, #558C13);

Monochromatic scale

Palettes built from #8c7213

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c7213 in the Color Lab