#9D9B7F color

#9D9B7F rgb(157, 155, 127)
Shades of yellow

The hex color #9D9B7F is a grayish yellow.

In the RGB color model it is made of 61.6% red, 60.8% green and 49.8% blue (157, 155, 127).

Its hue angle is 56°, with 13% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 19% yellow and 38% black.

The closest named color is Knock on Wood (#9F9B84), a difference of 2.1 ΔE, a small difference.

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

#9D9B7F color codes

HEX#9D9B7F
RGBrgb(157, 155, 127)
RGB percentrgb(61.6%, 60.8%, 49.8%)
HSLhsl(56, 13%, 56%)
HSV / HSBhsv(56, 19%, 62%)
CMYKcmyk(0%, 1%, 19%, 38%)
CIE LABlab(63.46, -4.14, 14.98)
CIE LCHlch(63.46, 15.54, 105.45)
CIE XYZxyz(29.457, 32.143, 24.727)
Decimal10328959
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9D9B7F, 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 #9D9B7FRatioAAAAAAA large
Sample text7.43:1PassPassPass
Sample text2.83:1FailFailFail
#9D9B7F as text onRatioAAAAAAA large
Sample text2.83:1FailFailFail
Sample text7.43:1PassPassPass

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 #9D9B7F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9d9b7f; }
.text { color: #9d9b7f; }
.border { border: 2px solid #9d9b7f; }
.transparent { background-color: rgb(157 155 127 / 50%); }
.gradient { background: linear-gradient(to right, #9d9b7f, #909d7f); }
Background
Text color
Border

Similar colors

Closest common color name: Stone.

Questions

What color is #9D9B7F?
#9D9B7F is a grayish yellow, closest to the named color Knock on Wood. It belongs to the yellow family of colors.
What is the RGB value of #9D9B7F?
The RGB value is 157, 155, 127: 157 red, 155 green and 127 blue on a 0 to 255 scale.
What is the complementary color of #9D9B7F?
The complementary color is #7F819D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9D9B7F?
Black text. Black text has a contrast ratio of 7.43:1 and white text 2.83:1. WCAG asks for at least 4.5:1 for normal text.