#A8A18A color
The hex color #A8A18A is a grayish yellow.
In the RGB color model it is made of 65.9% red, 63.1% green and 54.1% blue (168, 161, 138).
Its hue angle is 46°, with 15% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 18% yellow and 34% black.
The closest named color is Knock on Wood (#9F9B84), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.13:1).
#A8A18A color codes
| HEX | #A8A18A | |
|---|---|---|
| RGB | rgb(168, 161, 138) | |
| RGB percent | rgb(65.9%, 63.1%, 54.1%) | |
| HSL | hsl(46, 15%, 60%) | |
| HSV / HSB | hsv(46, 18%, 66%) | |
| CMYK | cmyk(0%, 4%, 18%, 34%) | |
| CIE LAB | lab(66.25, -1.41, 12.9) | |
| CIE LCH | lch(66.25, 12.98, 96.25) | |
| CIE XYZ | xyz(33.481, 35.65, 29.157) | |
| Decimal | 11051402 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8A18A, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #A8A18A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.13:1 | Pass | Pass | Pass |
| Sample text | 2.58:1 | Fail | Fail | Fail |
| #A8A18A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.58:1 | Fail | Fail | Fail |
| Sample text | 8.13:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #A8A18A looks to people with the most common types of color vision deficiency.
#a6a089Protanopia
no red cones#a8a28bDeuteranopia
no green cones#ad9d9bTritanopia
no blue cones#a1a1a1Achromatopsia
no color vision
CSS examples
.background { background-color: #a8a18a; }
.text { color: #a8a18a; }
.border { border: 2px solid #a8a18a; }
.transparent { background-color: rgb(168 161 138 / 50%); }
.gradient { background: linear-gradient(to right, #a8a18a, #a0a88a); }
Similar colors
#9f9b84Knock on Wood#aca28fSage the Day#a19986Nomad#9d9880Pebble#a79b7eMohalla#afa696Forgotten Sandstone#aaaa99Humble Hippo#9f9978A Frond in Need
Closest common color name: Greige.
Questions
- What color is #A8A18A?
- #A8A18A is a grayish yellow, closest to the named color Knock on Wood. It belongs to the gray family of colors.
- What is the RGB value of #A8A18A?
- The RGB value is 168, 161, 138: 168 red, 161 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #A8A18A?
- The complementary color is #8A91A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8A18A?
- Black text. Black text has a contrast ratio of 8.13:1 and white text 2.58:1. WCAG asks for at least 4.5:1 for normal text.