#AFA00F

A dark, vivid yellow closely aligning with Olive.

About #AFA00F

The hex code #AFA00F represents a beautifully specific shade of yellow. If you're using CSS, you might find it aligns closely with Olive. In the RGB color space, it consists of 175 red, 160 green, and 15 blue.

If you are designing for print, the four-color process is what matters most. The color uses 0% Cyan, 9% Magenta, 91% Yellow, and 31% Black. The HSL representation is 54.4° hue, 84.2% saturation, and 37.3% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AFA00F
RGB175, 160, 15
HSL54.4°, 84.2%, 37.3%
CMYK0%, 9%, 91%, 31%
HSV54.4°, 91.4%, 68.6%
LAB65.2, -8.3, 66.2
XYZ30.3, 34.3, 5.5
Decimal11509775

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: #AFA00F; }
.text-color { color: #AFA00F; }
.border-color { border: 2px solid #AFA00F; }

Similar Colors

Olive
#808000