#9D8C2E color

#9D8C2E rgb(157, 140, 46)
Shades of yellow

The hex color #9D8C2E is a moderate yellow.

In the RGB color model it is made of 61.6% red, 54.9% green and 18% blue (157, 140, 46).

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

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

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

#9D8C2E color codes

HEX#9D8C2E
RGBrgb(157, 140, 46)
RGB percentrgb(61.6%, 54.9%, 18%)
HSLhsl(51, 55%, 40%)
HSV / HSBhsv(51, 71%, 62%)
CMYKcmyk(0%, 11%, 71%, 38%)
CIE LABlab(58.15, -4.58, 50.19)
CIE LCHlch(58.15, 50.4, 95.21)
CIE XYZxyz(23.777, 26.123, 6.374)
Decimal10325038
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #9d8c2e; }
.text { color: #9d8c2e; }
.border { border: 2px solid #9d8c2e; }
.transparent { background-color: rgb(157 140 46 / 50%); }
.gradient { background: linear-gradient(to right, #9d8c2e, #769d2e); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

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