#A8AF2C
A medium, moderate yellow closely aligning with Olive.
About #A8AF2C
The precise color #A8AF2C is an excellent choice for modern design projects. Its closest recognized web color is Olive. To achieve this exact tint on a monitor, you would use an RGB mix of 168, 175, and 44.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 4% Cyan, 0% Magenta, 75% Yellow, and 31% Black. Always request a physical proof before doing a large print run with this exact code.
Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #000000 text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#A8AF2C
RGB168, 175, 44
HSL63.2°, 59.8%, 42.9%
CMYK4%, 0%, 75%, 31%
HSV63.2°, 74.9%, 68.6%
LAB68.9, -18.2, 61.7
XYZ31.9, 39.2, 8.3
Decimal11054892
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.38:1
Text on #FFFFFF
FAIL
8.83:1
Text on #000000
AAA
2.27:1
Text on #F8FAFC
FAIL
7.51:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #A8AF2C;
}
.text-color {
color: #A8AF2C;
}
.border-color {
border: 2px solid #A8AF2C;
}