Earl Gray color: hex code #A6978A

#A6978A rgb(166, 151, 138)
Shades of gray

Earl Gray has the hex code #A6978A. It is a grayish orange.

In the RGB color model it is made of 65.1% red, 59.2% green and 54.1% blue (166, 151, 138).

Its hue angle is 28°, with 14% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 17% yellow and 35% black.

Black text is the more readable choice on this background (contrast 7.42:1).

Earl Gray (#A6978A) color codes

HEX#A6978A
RGBrgb(166, 151, 138)
RGB percentrgb(65.1%, 59.2%, 54.1%)
HSLhsl(28, 14%, 60%)
HSV / HSBhsv(28, 17%, 65%)
CMYKcmyk(0%, 9%, 17%, 35%)
CIE LABlab(63.41, 3.31, 8.85)
CIE LCHlch(63.41, 9.45, 69.51)
CIE XYZxyz(31.38, 32.076, 28.578)
Decimal10917770
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Earl Gray, 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 #A6978ARatioAAAAAAA large
Sample text7.42:1PassPassPass
Sample text2.83:1FailFailFail
#A6978A as text onRatioAAAAAAA large
Sample text2.83:1FailFailFail
Sample text7.42: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 #A6978A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #a6978a; }
.text { color: #a6978a; }
.border { border: 2px solid #a6978a; }
.transparent { background-color: rgb(166 151 138 / 50%); }
.gradient { background: linear-gradient(to right, #a6978a, #a6a58a); }
Background
Text color
Border

Similar colors

Closest common color name: Stone.

See #A6978A on its hex code page

Questions

What color is #A6978A?
#A6978A is a grayish orange known as Earl Gray. It belongs to the gray family of colors.
What is the RGB value of Earl Gray?
The RGB value is 166, 151, 138: 166 red, 151 green and 138 blue on a 0 to 255 scale.
What is the complementary color of Earl Gray?
The complementary color is #8A99A6, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A6978A?
Black text. Black text has a contrast ratio of 7.42:1 and white text 2.83:1. WCAG asks for at least 4.5:1 for normal text.