Skip to content

#af997d

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

RGB
175, 153, 125
HSL
34°, 24%, 59%
CMYK
0, 13, 29, 31
Luminance
0.3338

Every format

HEX#af997d
RGBrgb(175, 153, 125)
HSLhsl(34, 24%, 59%)
CMYKcmyk(0%, 13%, 29%, 31%)
LABlab(64.5 3.8 17.7)
LCHlch(64.5 18.1 78.0)
OKLCHoklch(0.695 0.047 73.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af997d on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#af997d on black: 7.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.0%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta12.6%
Yellow28.6%
Key (black)31.4%

Color previews

#af997d text on a black background

contrast 7.68:1

Card sample

#af997d text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af997d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af997d in the Color Lab