#AFA042

A medium, moderate yellow closely aligning with Darkkhaki.

About #AFA042

At its core, #AFA042 is a medium and moderate hue. Its closest recognized web color is Darkkhaki. Its digital footprint relies on 175 parts red, 160 parts green, and 66 parts blue light.

For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 0% cyan and 9% magenta inks. The HSL representation is 51.7° hue, 45.2% saturation, and 47.3% lightness.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#AFA042
RGB175, 160, 66
HSL51.7°, 45.2%, 47.3%
CMYK0%, 9%, 62%, 31%
HSV51.7°, 62.3%, 68.6%
LAB65.5, -6.1, 49.7
XYZ31.2, 34.6, 10.2
Decimal11509826

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.65:1
Text on #FFFFFF
FAIL
7.93:1
Text on #000000
AAA
2.53:1
Text on #F8FAFC
FAIL
6.74:1
Text on #0F172A
AA

CSS Implementation

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

Similar Colors

Darkkhaki
#BDB76B