#8C8E8A color

#8C8E8A rgb(140, 142, 138)
Shades of gray

The hex color #8C8E8A is a gray.

In the RGB color model it is made of 54.9% red, 55.7% green and 54.1% blue (140, 142, 138).

Its hue angle is 90°, with 2% saturation and 55% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 3% yellow and 44% black.

The closest named color is Pedigrey (#8F8E8C), a difference of 2.2 ΔE, a small difference.

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

#8C8E8A color codes

HEX#8C8E8A
RGBrgb(140, 142, 138)
RGB percentrgb(54.9%, 55.7%, 54.1%)
HSLhsl(90, 2%, 55%)
HSV / HSBhsv(90, 3%, 56%)
CMYKcmyk(1%, 0%, 3%, 44%)
CIE LABlab(58.75, -1.51, 1.87)
CIE LCHlch(58.75, 2.4, 128.95)
CIE XYZxyz(25.075, 26.756, 27.883)
Decimal9211530
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #8c8e8a; }
.text { color: #8c8e8a; }
.border { border: 2px solid #8c8e8a; }
.transparent { background-color: rgb(140 142 138 / 50%); }
.gradient { background: linear-gradient(to right, #8c8e8a, #8a8e8a); }
Background
Text color
Border

Similar colors

Closest common color name: Stone.

Questions

What color is #8C8E8A?
#8C8E8A is a gray, closest to the named color Pedigrey. It belongs to the gray family of colors.
What is the RGB value of #8C8E8A?
The RGB value is 140, 142, 138: 140 red, 142 green and 138 blue on a 0 to 255 scale.
What is the complementary color of #8C8E8A?
The complementary color is #8C8A8E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8C8E8A?
Black text. Black text has a contrast ratio of 6.35:1 and white text 3.31:1. WCAG asks for at least 4.5:1 for normal text.