#AFA87C

A medium, muted yellow closely aligning with Tan.

About #AFA87C

Visually, #AFA87C is defined as a muted yellow. Its closest recognized web color is Tan. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 168, and 124.

For print applications, it's crucial to understand its CMYK makeup. The color uses 0% Cyan, 4% Magenta, 29% Yellow, and 31% Black. This makes it a relatively light color when applied to physical surfaces.

Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#AFA87C
RGB175, 168, 124
HSL51.8°, 24.2%, 58.6%
CMYK0%, 4%, 29%, 31%
HSV51.8°, 29.1%, 68.6%
LAB68.4, -4.5, 23.7
XYZ35.3, 38.6, 24.7
Decimal11511932

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.41:1
Text on #FFFFFF
FAIL
8.71:1
Text on #000000
AAA
2.30:1
Text on #F8FAFC
FAIL
7.41:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #AFA87C; }
.text-color { color: #AFA87C; }
.border-color { border: 2px solid #AFA87C; }

Similar Colors

Tan
#D2B48C