#AFA81D
A medium, vivid yellow closely aligning with Olive.
About #AFA81D
Visually, #AFA81D is defined as a vivid yellow. It is closely associated with the named CSS color Olive. This translates to an RGB value of rgb(175, 168, 29).
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 0% cyan, 4% magenta, 83% yellow, and 31% black. The HSL representation is 57.1° hue, 71.6% saturation, and 40.0% 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. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#AFA81D
RGB175, 168, 29
HSL57.1°, 71.6%, 40.0%
CMYK0%, 4%, 83%, 31%
HSV57.1°, 83.4%, 68.6%
LAB67.4, -12.1, 65.0
XYZ31.9, 37.2, 6.7
Decimal11511837
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.49:1
Text on #FFFFFF
FAIL
8.44:1
Text on #000000
AAA
2.38:1
Text on #F8FAFC
FAIL
7.18:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFA81D;
}
.text-color {
color: #AFA81D;
}
.border-color {
border: 2px solid #AFA81D;
}