Silver #C0C0C0

Silver color (#C0C0C0)

Silver is one of the 148 CSS named colors. Use the keyword silver anywhere CSS accepts a color, or its hex code #C0C0C0, which is rgb(192, 192, 192) in RGB.

It is a light neutral and a perceived lightness of 81% in OKLCH. On a silver background, black text gives the higher contrast at 11.54:1, which passes WCAG AA for normal text.

Silver color codes

CSS name silver
HEX #C0C0C0
HEX (8-digit) #C0C0C0FF
RGB rgb(192, 192, 192)
HSL hsl(0, 0%, 75%)
HSV / HSB hsv(0, 0%, 75%)
OKLCH oklch(80.8% 0 89.9)
CMYK cmyk(0%, 0%, 0%, 24.7%)

Contrast with white and black

WCAG 2 contrast ratios and APCA lightness contrast (Lc) for silver used as text and as a background.

Aa Sample text
Silver text on white
1.81:1 WCAG Lc 34 APCA Fails AA
Aa Sample text
Silver text on black
11.54:1 WCAG Lc -68.6 APCA Passes AA
Aa Sample text
White text on silver
1.81:1 WCAG Lc -38.1 APCA Fails AA
Aa Sample text
Black text on silver
11.54:1 WCAG Lc 69.9 APCA Passes AA

Tints and shades of silver

Tints mix silver with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.

Tints

Shades

Colors that go with silver

Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.

Complementary

Analogous

Triadic

Split-Complementary

Silver with color blindness

Approximately how silver appears with each type of color vision deficiency. Test full designs with the color blindness simulator.

Using silver in CSS

.element {
  color: silver;
  background-color: #c0c0c0;
  border-color: rgb(192 192 192 / 50%);
  outline-color: oklch(80.8% 0 89.9);
}

Similar named colors

See all shades of gray or browse every CSS color name.

Related tools