#AFA007

A dark, vivid yellow closely aligning with Olive.

About #AFA007

When working with digital screens, the color #AFA007 is rendered by mixing light. It is closely associated with the named CSS color Olive. This translates to an RGB value of rgb(175, 160, 7).

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 0% C, 9% M, 96% Y, and 31% K. Always request a physical proof before doing a large print run with this exact code.

Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#AFA007
RGB175, 160, 7
HSL54.6°, 92.3%, 35.7%
CMYK0%, 9%, 96%, 31%
HSV54.6°, 96.0%, 68.6%
LAB65.2, -8.4, 67.3
XYZ30.3, 34.3, 5.2
Decimal11509767

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.85:1
Text on #000000
AAA
2.56:1
Text on #F8FAFC
FAIL
6.68:1
Text on #0F172A
AA

CSS Implementation

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

Similar Colors

Olive
#808000