#8A8F7E color

#8A8F7E rgb(138, 143, 126)
Shades of gray

The hex color #8A8F7E is a gray.

In the RGB color model it is made of 54.1% red, 56.1% green and 49.4% blue (138, 143, 126).

Its hue angle is 78°, with 7% saturation and 53% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 12% yellow and 44% black.

The closest named color is Farmer’s Market (#8F917C), a difference of 2.1 ΔE, a small difference.

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

#8A8F7E color codes

HEX#8A8F7E
RGBrgb(138, 143, 126)
RGB percentrgb(54.1%, 56.1%, 49.4%)
HSLhsl(78, 7%, 53%)
HSV / HSBhsv(78, 12%, 56%)
CMYKcmyk(3%, 0%, 12%, 44%)
CIE LABlab(58.56, -5.05, 8.43)
CIE LCHlch(58.56, 9.82, 120.91)
CIE XYZxyz(24.069, 26.555, 23.592)
Decimal9080702
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A8F7E, 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 #8A8F7ERatioAAAAAAA large
Sample text6.31:1PassFailPass
Sample text3.33:1FailFailPass
#8A8F7E as text onRatioAAAAAAA large
Sample text3.33:1FailFailPass
Sample text6.31:1PassFailPass

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 #8A8F7E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8a8f7e; }
.text { color: #8a8f7e; }
.border { border: 2px solid #8a8f7e; }
.transparent { background-color: rgb(138 143 126 / 50%); }
.gradient { background: linear-gradient(to right, #8a8f7e, #828f7e); }
Background
Text color
Border

Similar colors

Closest common color name: Warm Gray.

Questions

What color is #8A8F7E?
#8A8F7E is a gray, closest to the named color Farmer’s Market. It belongs to the gray family of colors.
What is the RGB value of #8A8F7E?
The RGB value is 138, 143, 126: 138 red, 143 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #8A8F7E?
The complementary color is #837E8F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A8F7E?
Black text. Black text has a contrast ratio of 6.31:1 and white text 3.33:1. WCAG asks for at least 4.5:1 for normal text.