#9D8D2D color

#9D8D2D rgb(157, 141, 45)
Shades of yellow

The hex color #9D8D2D is a moderate yellow.

In the RGB color model it is made of 61.6% red, 55.3% green and 17.6% blue (157, 141, 45).

Its hue angle is 51°, with 55% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 71% 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.28:1).

#9D8D2D color codes

HEX#9D8D2D
RGBrgb(157, 141, 45)
RGB percentrgb(61.6%, 55.3%, 17.6%)
HSLhsl(51, 55%, 40%)
HSV / HSBhsv(51, 71%, 62%)
CMYKcmyk(0%, 10%, 71%, 38%)
CIE LABlab(58.42, -5.18, 50.88)
CIE LCHlch(58.42, 51.14, 95.81)
CIE XYZxyz(23.904, 26.408, 6.32)
Decimal10325293
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #9d8d2d; }
.text { color: #9d8d2d; }
.border { border: 2px solid #9d8d2d; }
.transparent { background-color: rgb(157 141 45 / 50%); }
.gradient { background: linear-gradient(to right, #9d8d2d, #759d2d); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

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