#AFA875
A medium, muted yellow closely aligning with Tan.
About #AFA875
The precise color #AFA875 is an excellent choice for modern design projects. Its closest recognized web color is Tan. This translates to an RGB value of rgb(175, 168, 117).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 0% cyan and 4% magenta inks. The HSL representation is 52.8° hue, 26.6% saturation, and 57.3% lightness.
When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AFA875
RGB175, 168, 117
HSL52.8°, 26.6%, 57.3%
CMYK0%, 4%, 33%, 31%
HSV52.8°, 33.1%, 68.6%
LAB68.3, -5.4, 27.3
XYZ34.9, 38.4, 22.4
Decimal11511925
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.42:1
Text on #FFFFFF
FAIL
8.68:1
Text on #000000
AAA
2.31:1
Text on #F8FAFC
FAIL
7.38:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFA875;
}
.text-color {
color: #AFA875;
}
.border-color {
border: 2px solid #AFA875;
}