#8E7E0C color

#8E7E0C rgb(142, 126, 12)
Shades of yellow

The hex color #8E7E0C is a dark, vivid yellow.

In the RGB color model it is made of 55.7% red, 49.4% green and 4.7% blue (142, 126, 12).

Its hue angle is 53°, with 84% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 92% yellow and 44% black.

The closest named color is Captain Kirk (#9B870C), a difference of 3.8 ΔE, a small difference.

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

#8E7E0C color codes

HEX#8E7E0C
RGBrgb(142, 126, 12)
RGB percentrgb(55.7%, 49.4%, 4.7%)
HSLhsl(53, 84%, 30%)
HSV / HSBhsv(53, 92%, 56%)
CMYKcmyk(0%, 11%, 92%, 44%)
CIE LABlab(52.62, -5.05, 55.58)
CIE LCHlch(52.62, 55.81, 95.19)
CIE XYZxyz(18.684, 20.7, 3.359)
Decimal9338380
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8E7E0C, 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 #8E7E0CRatioAAAAAAA large
Sample text5.14:1PassFailPass
Sample text4.09:1FailFailPass
#8E7E0C as text onRatioAAAAAAA large
Sample text4.09:1FailFailPass
Sample text5.14: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 #8E7E0C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8e7e0c; }
.text { color: #8e7e0c; }
.border { border: 2px solid #8e7e0c; }
.transparent { background-color: rgb(142 126 12 / 50%); }
.gradient { background: linear-gradient(to right, #8e7e0c, #5d8e0c); }
Background
Text color
Border

Similar colors

Questions

What color is #8E7E0C?
#8E7E0C is a dark, vivid yellow, closest to the named color Captain Kirk. It belongs to the yellow family of colors.
What is the RGB value of #8E7E0C?
The RGB value is 142, 126, 12: 142 red, 126 green and 12 blue on a 0 to 255 scale.
What is the complementary color of #8E7E0C?
The complementary color is #0C1C8E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8E7E0C?
Black text. Black text has a contrast ratio of 5.14:1 and white text 4.09:1. WCAG asks for at least 4.5:1 for normal text.