Skip to content

#9D9795 Color

#9D9795 is rgb(157, 151, 149) in RGB, hsl(15, 4%, 60%) in HSL, and about cmyk(0%, 4%, 5%, 38%) in CMYK. It has no registered color name of its own — the closest is Spanish Gray (#989898), very hard to tell apart at ΔE 2.74. Black text is the more readable choice on this background.

#9D9795
HEX#9D9795
RGBrgb(157, 151, 149)
HSLhsl(15, 4%, 60%)
HSVhsv(15, 5%, 62%)
CMYKcmyk(0%, 4%, 5%, 38%)
OKLCHoklch(68.1% 0.008 39.4)
LABlab(62.93% 2.00 1.88)
LCHlch(62.93% 2.74 43.28)

What #9D9795 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #9D9795, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every gray in the library.

#9D9795 Channel Values

How #9D9795 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 157 · G 151 · B 1498-bit channels as sent to the display
HSLH 15° · S 4% · L 60%Easiest model for building lighter and darker variants
HSVH 15° · S 5% · V 62%Matches the picker in most design tools
CMYKC 0% · M 4% · Y 5% · K 38%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.88:1 vs white · 7.29:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #9D9795 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text2.88:1AA normal AA large AAA normal
TextBlack text7.29:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #9D9795 in the contrast checker.

Colors That Go With #9D9795

Pairings derived from color-wheel relationships. The complementary color sits opposite #9D9795; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #9D9795

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #9D9795.

How #9D9795 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#9D9795
Protanopia#989895
Protanomaly#9A9895
Deuteranopia#999995
Deuteranomaly#9B9895
Tritanopia#9D9797
Tritanomaly#9D9796
Achromatopsia#989898

Test a full palette in the color blindness simulator.

Using #9D9795 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-9d9795: #9D9795;
CSS backgroundbackground-color: #9D9795;
Tailwind configcolors: { 'color-9d9795': '#9D9795' }
SwiftUIColor(red: 0.616, green: 0.592, blue: 0.584)
Android XML<color name="color_9d9795">#9D9795</color>
SVG fillfill="#9D9795"

More Gray Colors

#9D9795 sits in the gray family. These are its neighbours across that family's full range, each with its own breakdown.

#9D9795 Frequently Asked Questions

What color is #9D9795?

#9D9795 is a light gray — rgb(157, 151, 149) in RGB and hsl(15, 4%, 60%) in HSL. It carries no registered color name of its own; the closest named color is Spanish Gray (#989898), which is very hard to tell apart at a CIE76 distance of 2.74.

What is the RGB value of #9D9795?

#9D9795 is rgb(157, 151, 149) — red 157, green 151, and blue 149 on the 0-255 scale.

What is the CMYK value of #9D9795?

#9D9795 converts to approximately cmyk(0%, 4%, 5%, 38%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #9D9795 be black or white?

Black text is the more readable choice. #9D9795 scores 2.88:1 against white and 7.29:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #9D9795 as a CSS color keyword?

No. #9D9795 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkgray (#A9A9A9) at a CIE76 distance of 6.87, which is clearly related but distinguishable side by side.

Open #9D9795 in a Tool

Keep exploring: every gray in the color library, the guide to shades of gray, or the full color library.