#A8A18A color

#A8A18A rgb(168, 161, 138)
Shades of gray

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
RGBrgb(168, 161, 138)
RGB percentrgb(65.9%, 63.1%, 54.1%)
HSLhsl(46, 15%, 60%)
HSV / HSBhsv(46, 18%, 66%)
CMYKcmyk(0%, 4%, 18%, 34%)
CIE LABlab(66.25, -1.41, 12.9)
CIE LCHlch(66.25, 12.98, 96.25)
CIE XYZxyz(33.481, 35.65, 29.157)
Decimal11051402
Short hexNone (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 #A8A18ARatioAAAAAAA large
Sample text8.13:1PassPassPass
Sample text2.58:1FailFailFail
#A8A18A as text onRatioAAAAAAA large
Sample text2.58:1FailFailFail
Sample text8.13:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.