Skip to content

#ab8713

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

RGB
171, 135, 19
HSL
46°, 80%, 37%
CMYK
0, 21, 89, 33
Luminance
0.2603

Every format

HEX#ab8713
RGBrgb(171, 135, 19)
HSLhsl(46, 80%, 37%)
CMYKcmyk(0%, 21%, 89%, 33%)
LABlab(58.1 3.5 59.6)
LCHlch(58.1 59.7 86.6)
OKLCHoklch(0.640 0.126 88.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab8713 on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#ab8713 on black: 6.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green52.9%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow88.9%
Key (black)32.9%

Color previews

#ab8713 text on a black background

contrast 6.21:1

Card sample

#ab8713 text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 135, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 135, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab8713;
background: linear-gradient(135deg, #ab8713, #6AAB13);

Monochromatic scale

Palettes built from #ab8713

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab8713 in the Color Lab