#AFA016

A dark, vivid yellow closely aligning with Olive.

About #AFA016

The hex code #AFA016 represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Olive. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 160, and 22.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 0% cyan, 9% magenta, 87% yellow, and 31% black. The HSL representation is 54.1° hue, 77.7% saturation, and 38.6% lightness.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #000000 text provides the most optimal reading experience. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#AFA016
RGB175, 160, 22
HSL54.1°, 77.7%, 38.6%
CMYK0%, 9%, 87%, 31%
HSV54.1°, 87.4%, 68.6%
LAB65.2, -8.1, 64.9
XYZ30.4, 34.3, 5.8
Decimal11509782

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.67:1
Text on #FFFFFF
FAIL
7.86:1
Text on #000000
AAA
2.55:1
Text on #F8FAFC
FAIL
6.68:1
Text on #0F172A
AA

CSS Implementation

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

Similar Colors

Olive
#808000