#9E8D2F color

#9E8D2F rgb(158, 141, 47)
Shades of yellow

The hex color #9E8D2F is a moderate yellow.

In the RGB color model it is made of 62% red, 55.3% green and 18.4% blue (158, 141, 47).

Its hue angle is 51°, with 54% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 70% yellow and 38% black.

The closest named color is Gecko (#9D913C), a difference of 2.3 ΔE, a small difference.

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

#9E8D2F color codes

HEX#9E8D2F
RGBrgb(158, 141, 47)
RGB percentrgb(62%, 55.3%, 18.4%)
HSLhsl(51, 54%, 40%)
HSV / HSBhsv(51, 70%, 62%)
CMYKcmyk(0%, 11%, 70%, 38%)
CIE LABlab(58.53, -4.62, 50.19)
CIE LCHlch(58.53, 50.4, 95.26)
CIE XYZxyz(24.14, 26.525, 6.537)
Decimal10390831
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9E8D2F, 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 #9E8D2FRatioAAAAAAA large
Sample text6.3:1PassFailPass
Sample text3.33:1FailFailPass
#9E8D2F as text onRatioAAAAAAA large
Sample text3.33:1FailFailPass
Sample text6.3: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 #9E8D2F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9e8d2f; }
.text { color: #9e8d2f; }
.border { border: 2px solid #9e8d2f; }
.transparent { background-color: rgb(158 141 47 / 50%); }
.gradient { background: linear-gradient(to right, #9e8d2f, #779e2f); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

What color is #9E8D2F?
#9E8D2F is a moderate yellow, closest to the named color Gecko. It belongs to the yellow family of colors.
What is the RGB value of #9E8D2F?
The RGB value is 158, 141, 47: 158 red, 141 green and 47 blue on a 0 to 255 scale.
What is the complementary color of #9E8D2F?
The complementary color is #2F409E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9E8D2F?
Black text. Black text has a contrast ratio of 6.3:1 and white text 3.33:1. WCAG asks for at least 4.5:1 for normal text.