#8A8B57 color

#8A8B57 rgb(138, 139, 87)
Shades of yellow

The hex color #8A8B57 is a grayish yellow.

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

Its hue angle is 61°, with 23% saturation and 44% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 37% yellow and 45% black.

The closest named color is Green Olive (#8D8B55), a difference of 1.2 ΔE, which is barely visible.

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

#8A8B57 color codes

HEX#8A8B57
RGBrgb(138, 139, 87)
RGB percentrgb(54.1%, 54.5%, 34.1%)
HSLhsl(61, 23%, 44%)
HSV / HSBhsv(61, 37%, 55%)
CMYKcmyk(1%, 0%, 37%, 45%)
CIE LABlab(56.64, -8.77, 27.72)
CIE LCHlch(56.64, 29.07, 107.55)
CIE XYZxyz(21.434, 24.557, 12.626)
Decimal9079639
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Moss Green.

Questions

What color is #8A8B57?
#8A8B57 is a grayish yellow, closest to the named color Green Olive. It belongs to the yellow family of colors.
What is the RGB value of #8A8B57?
The RGB value is 138, 139, 87: 138 red, 139 green and 87 blue on a 0 to 255 scale.
What is the complementary color of #8A8B57?
The complementary color is #58578B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A8B57?
Black text. Black text has a contrast ratio of 5.91:1 and white text 3.55:1. WCAG asks for at least 4.5:1 for normal text.