#AFA80F
A dark, vivid yellow closely aligning with Olive.
About #AFA80F
The hex code #AFA80F represents a beautifully specific shade of yellow. Designers often compare it to the standard color Olive. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 168, and 15.
If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 0% C, 4% M, 91% Y, and 31% K. With a hue angle of 57.4 degrees, it sits comfortably in the yellow spectrum.
When using this color as a background, text legibility must be considered. To prevent eye strain, #000000 text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#AFA80F
RGB175, 168, 15
HSL57.4°, 84.2%, 37.3%
CMYK0%, 4%, 91%, 31%
HSV57.4°, 91.4%, 68.6%
LAB67.4, -12.5, 67.9
XYZ31.8, 37.2, 5.9
Decimal11511823
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.49:1
Text on #FFFFFF
FAIL
8.43:1
Text on #000000
AAA
2.38:1
Text on #F8FAFC
FAIL
7.17:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFA80F;
}
.text-color {
color: #AFA80F;
}
.border-color {
border: 2px solid #AFA80F;
}