#8A842C color

#8A842C rgb(138, 132, 44)
Shades of yellow

The hex color #8A842C is a dark, moderate yellow.

In the RGB color model it is made of 54.1% red, 51.8% green and 17.3% blue (138, 132, 44).

Its hue angle is 56°, with 52% saturation and 36% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 68% yellow and 46% black.

The closest named color is Witch Brew (#888738), a difference of 2.4 ΔE, a small difference.

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

#8A842C color codes

HEX#8A842C
RGBrgb(138, 132, 44)
RGB percentrgb(54.1%, 51.8%, 17.3%)
HSLhsl(56, 52%, 36%)
HSV / HSBhsv(56, 68%, 54%)
CMYKcmyk(0%, 4%, 68%, 46%)
CIE LABlab(54.12, -8.93, 46.37)
CIE LCHlch(54.12, 47.22, 100.9)
CIE XYZxyz(19.188, 22.088, 5.635)
Decimal9077804
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #8a842c; }
.text { color: #8a842c; }
.border { border: 2px solid #8a842c; }
.transparent { background-color: rgb(138 132 44 / 50%); }
.gradient { background: linear-gradient(to right, #8a842c, #618a2c); }
Background
Text color
Border

Similar colors

Questions

What color is #8A842C?
#8A842C is a dark, moderate yellow, closest to the named color Witch Brew. It belongs to the yellow family of colors.
What is the RGB value of #8A842C?
The RGB value is 138, 132, 44: 138 red, 132 green and 44 blue on a 0 to 255 scale.
What is the complementary color of #8A842C?
The complementary color is #2C328A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A842C?
Black text. Black text has a contrast ratio of 5.42:1 and white text 3.88:1. WCAG asks for at least 4.5:1 for normal text.