Skip to content

#af9178

a balanced, soft orange · warm · closest name: tan

RGB
175, 145, 120
HSL
27°, 26%, 58%
CMYK
0, 17, 31, 31
Luminance
0.3072

Every format

HEX#af9178
RGBrgb(175, 145, 120)
HSLhsl(27, 26%, 58%)
CMYKcmyk(0%, 17%, 31%, 31%)
LABlab(62.3 7.5 17.5)
LCHlch(62.3 19.0 66.8)
OKLCHoklch(0.678 0.051 61.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9178 on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#af9178 on black: 7.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green56.9%
Blue47.1%

CMYK percentages

Cyan0.0%
Magenta17.1%
Yellow31.4%
Key (black)31.4%

Color previews

#af9178 text on a black background

contrast 7.14:1

Card sample

#af9178 text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 145, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 145, 120, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9178;
background: linear-gradient(135deg, #af9178, #A8AF78);

Monochromatic scale

Palettes built from #af9178

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af9178 in the Color Lab