Skip to content

#af9f8c

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

RGB
175, 159, 140
HSL
33°, 18%, 62%
CMYK
0, 9, 20, 31
Luminance
0.3580

Every format

HEX#af9f8c
RGBrgb(175, 159, 140)
HSLhsl(33, 18%, 62%)
CMYKcmyk(0%, 9%, 20%, 31%)
LABlab(66.4 2.7 12.1)
LCHlch(66.4 12.3 77.4)
OKLCHoklch(0.711 0.033 72.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9f8c on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#af9f8c on black: 8.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green62.4%
Blue54.9%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow20.0%
Key (black)31.4%

Color previews

#af9f8c text on a black background

contrast 8.16:1

Card sample

#af9f8c text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9f8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af9f8c in the Color Lab