#A8A007
A dark, vivid yellow closely aligning with Olive.
About #A8A007
Visually, #A8A007 is defined as a vivid 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 168, 160, and 7.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 0% C, 5% M, 96% Y, and 34% K. The HSL representation is 57.0° hue, 92.0% saturation, and 34.3% lightness.
Ensuring your text is legible against this background is a key part of web design. 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#A8A007
RGB168, 160, 7
HSL57.0°, 92.0%, 34.3%
CMYK0%, 5%, 96%, 34%
HSV57.0°, 95.8%, 65.9%
LAB64.5, -11.5, 66.6
XYZ28.8, 33.5, 5.1
Decimal11051015
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.73:1
Text on #FFFFFF
FAIL
7.70:1
Text on #000000
AAA
2.61:1
Text on #F8FAFC
FAIL
6.54:1
Text on #0F172A
AA
CSS Implementation
.bg-color {
background-color: #A8A007;
}
.text-color {
color: #A8A007;
}
.border-color {
border: 2px solid #A8A007;
}