Skip to content

Silver

Silver is a light gray with no tint at all. Hex code #C0C0C0.

Silver#C0C0C0

Silver color codes

  • CSS namesilver
  • HEX#C0C0C0
  • RGBrgb(192, 192, 192)
  • HSLhsl(0, 0%, 75%)
  • OKLCHoklch(80.8% 0 0)
HSB and CMYK values
  • HSB / HSVhsb(0, 0%, 75%)
  • CMYKC0 M0 Y0 K25

White text

1.81:1 · fails WCAG

Black text

11.54:1 · passes WCAG AAA

Shades of silver

A darker shade of silver is #9C9C9C (300), and a lighter one is #F2F2F2 (50).

Colors that go with silver

Tones

Silver has no complementary color: grays, black and white have no hue to turn around the color wheel.

Click a color to copy its hex code.

Colors similar to silver

Each compared with silver.

About this color

Silver in CSS and design

Silver is one of the 16 basic color keywords, which come from the VGA palette by way of HTML. These four lines all give the same silver:

color: silver;
color: #C0C0C0;
color: rgb(192, 192, 192);
color: hsl(0, 0%, 75%);

What to know about silver

Silver is #C0C0C0, each channel at 192, three quarters of full strength. In lightness it sits between dark gray (#A9A9A9) and light gray (#D3D3D3). On white it reaches just 1.81:1, so it suits decorative lines and backgrounds rather than text.

Silver and the other grays

Silver sits between dark gray (#A9A9A9) and light gray (#D3D3D3) in lightness. As text on silver, black and dark slate gray reach the 4.5:1 contrast that WCAG AA asks for.

GrayHexLightnessContrast with silver
Black#0000000%11.54:1
Dark slate gray#2F4F4F40%4.90:1
Dim gray#69696952%3.01:1
Slate gray#70809059%2.22:1
Gray#80808060%2.17:1
Light slate gray#77889962%2.00:1
Dark gray#A9A9A973%1.29:1
Silver#C0C0C081%–
Light gray#D3D3D387%1.21:1
Gainsboro#DCDCDC89%1.32:1
White smoke#F5F5F597%1.66:1
White#FFFFFF100%1.81:1

Lightness is OKLCH lightness, which follows how light a color looks.

Frequently asked questions

What is the hex code for silver?

#C0C0C0. In CSS you can also use the keyword silver, which works in every browser.

What is silver in RGB and HSL?

In RGB it is rgb(192, 192, 192) and in HSL hsl(0, 0%, 75%). In CMYK it is about C0 M0 Y0 K25, though printed colors vary with paper and ink.

Should I use black or white text on silver?

Black text works better: it has a contrast ratio of 11.54:1 and passes WCAG AAA. White text reaches 1.81:1.

What is the complementary color of silver?

Silver has no complementary color. A complement is found by turning a color's hue halfway around the color wheel, and grays, black and white have no hue to turn.

Which colors go with silver?

As a neutral, silver goes with almost any color. Its own tones, from #4D4D4D to #DEDEDE, make a calm palette, and a single vivid accent stands out against it.