#8A8A5E color

#8A8A5E rgb(138, 138, 94)
Shades of yellow

The hex color #8A8A5E is a grayish yellow.

In the RGB color model it is made of 54.1% red, 54.1% green and 36.9% blue (138, 138, 94).

Its hue angle is 60°, with 19% saturation and 45% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 32% yellow and 46% black.

The closest named color is Iguana (#878757), a difference of 1.6 ΔE, which is barely visible.

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

#8A8A5E color codes

HEX#8A8A5E
RGBrgb(138, 138, 94)
RGB percentrgb(54.1%, 54.1%, 36.9%)
HSLhsl(60, 19%, 45%)
HSV / HSBhsv(60, 32%, 54%)
CMYKcmyk(0%, 0%, 32%, 46%)
CIE LABlab(56.47, -7.31, 23.63)
CIE LCHlch(56.47, 24.74, 107.2)
CIE XYZxyz(21.59, 24.389, 14.158)
Decimal9079390
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A8A5E, 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 #8A8A5ERatioAAAAAAA large
Sample text5.88:1PassFailPass
Sample text3.57:1FailFailPass
#8A8A5E as text onRatioAAAAAAA large
Sample text3.57:1FailFailPass
Sample text5.88: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 #8A8A5E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8a8a5e; }
.text { color: #8a8a5e; }
.border { border: 2px solid #8a8a5e; }
.transparent { background-color: rgb(138 138 94 / 50%); }
.gradient { background: linear-gradient(to right, #8a8a5e, #748a5e); }
Background
Text color
Border

Similar colors

Closest common color name: Warm Gray.

Questions

What color is #8A8A5E?
#8A8A5E is a grayish yellow, closest to the named color Iguana. It belongs to the yellow family of colors.
What is the RGB value of #8A8A5E?
The RGB value is 138, 138, 94: 138 red, 138 green and 94 blue on a 0 to 255 scale.
What is the complementary color of #8A8A5E?
The complementary color is #5E5E8A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A8A5E?
Black text. Black text has a contrast ratio of 5.88:1 and white text 3.57:1. WCAG asks for at least 4.5:1 for normal text.