Skip to content

#af9b8c

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

RGB
175, 155, 140
HSL
26°, 18%, 62%
CMYK
0, 11, 20, 31
Luminance
0.3445

Every format

HEX#af9b8c
RGBrgb(175, 155, 140)
HSLhsl(26, 18%, 62%)
CMYKcmyk(0%, 11%, 20%, 31%)
LABlab(65.3 4.9 10.6)
LCHlch(65.3 11.6 65.2)
OKLCHoklch(0.703 0.032 59.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9b8c on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#af9b8c on black: 7.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.8%
Blue54.9%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow20.0%
Key (black)31.4%

Color previews

#af9b8c text on a black background

contrast 7.89:1

Card sample

#af9b8c text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9b8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af9b8c in the Color Lab