#8C8917 color

#8C8917 rgb(140, 137, 23)
Shades of yellow

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

In the RGB color model it is made of 54.9% red, 53.7% green and 9% blue (140, 137, 23).

Its hue angle is 58°, with 72% saturation and 32% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 84% yellow and 45% black.

The closest named color is Olive Green (#808000), a difference of 3.7 ΔE, a small difference.

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

#8C8917 color codes

HEX#8C8917
RGBrgb(140, 137, 23)
RGB percentrgb(54.9%, 53.7%, 9%)
HSLhsl(58, 72%, 32%)
HSV / HSBhsv(58, 84%, 55%)
CMYKcmyk(0%, 2%, 84%, 45%)
CIE LABlab(55.61, -11.7, 55.35)
CIE LCHlch(55.61, 56.57, 101.93)
CIE XYZxyz(19.916, 23.529, 4.303)
Decimal9210135
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #8c8917; }
.text { color: #8c8917; }
.border { border: 2px solid #8c8917; }
.transparent { background-color: rgb(140 137 23 / 50%); }
.gradient { background: linear-gradient(to right, #8c8917, #558c17); }
Background
Text color
Border

Similar colors

Questions

What color is #8C8917?
#8C8917 is a dark, moderate yellow, closest to the named color Olive Green. It belongs to the yellow family of colors.
What is the RGB value of #8C8917?
The RGB value is 140, 137, 23: 140 red, 137 green and 23 blue on a 0 to 255 scale.
What is the complementary color of #8C8917?
The complementary color is #171A8C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8C8917?
Black text. Black text has a contrast ratio of 5.71:1 and white text 3.68:1. WCAG asks for at least 4.5:1 for normal text.