#8A8B7D color

#8A8B7D rgb(138, 139, 125)
Shades of gray

The hex color #8A8B7D is a gray.

In the RGB color model it is made of 54.1% red, 54.5% green and 49% blue (138, 139, 125).

Its hue angle is 64°, with 6% saturation and 52% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 10% yellow and 45% black.

The closest named color is Kosher Khaki (#888877), a difference of 1.7 ΔE, which is barely visible.

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

#8A8B7D color codes

HEX#8A8B7D
RGBrgb(138, 139, 125)
RGB percentrgb(54.1%, 54.5%, 49%)
HSLhsl(64, 6%, 52%)
HSV / HSBhsv(64, 10%, 55%)
CMYKcmyk(1%, 0%, 10%, 45%)
CIE LABlab(57.41, -3, 7.37)
CIE LCHlch(57.41, 7.95, 112.16)
CIE XYZxyz(23.415, 25.349, 23.057)
Decimal9079677
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A8B7D, 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 #8A8B7DRatioAAAAAAA large
Sample text6.07:1PassFailPass
Sample text3.46:1FailFailPass
#8A8B7D as text onRatioAAAAAAA large
Sample text3.46:1FailFailPass
Sample text6.07: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 #8A8B7D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8a8b7d; }
.text { color: #8a8b7d; }
.border { border: 2px solid #8a8b7d; }
.transparent { background-color: rgb(138 139 125 / 50%); }
.gradient { background: linear-gradient(to right, #8a8b7d, #838b7d); }
Background
Text color
Border

Similar colors

Questions

What color is #8A8B7D?
#8A8B7D is a gray, closest to the named color Kosher Khaki. It belongs to the gray family of colors.
What is the RGB value of #8A8B7D?
The RGB value is 138, 139, 125: 138 red, 139 green and 125 blue on a 0 to 255 scale.
What is the complementary color of #8A8B7D?
The complementary color is #7E7D8B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A8B7D?
Black text. Black text has a contrast ratio of 6.07:1 and white text 3.46:1. WCAG asks for at least 4.5:1 for normal text.