Silver Color Code: Hex #C0C0C0
The hex code for Silver is #C0C0C0 (the CSS keyword silver). Silver RGB code: rgb(192, 192, 192). The xkcd color survey gives #C5C9C7 instead, which looks slightly different; both codes are below with their source.
#C0C0C0Top: the code browsers use#C5C9C7Below: compare edge to edgeSilver color codes: each Silver hex code in every format
Sources
Properties
- Hex codes
- 2 different ones in 3 color lists; they look slightly different
- Family
- gray
- Contrast
- 1.82:1 with white, 11.54:1 with black
- CSS keyword
- silver
- Character
- light, near-neutral
- Readable text on it
- black (AA)
The original X11 ‘gray’ sits at 74.5%, almost exactly where silver is at 75.3%; that is why CSS gray and the X11 gray are different colors. The printer media color standard PWG 5101.1 keeps silver at the same value and adds its own dark and light silver variants.
A light, almost neutral tint. In code, silver gives exactly this web value. If you mean the color as people usually picture the name, the survey value #C5C9C7 is closer: it is lighter and about as saturated.
Black text reads best on it; white text does not pass WCAG AA. Next to Light Gray, its closest named neighbour, it looks darker, about as saturated and neither warmer nor cooler; beside Dark Gray it looks lighter, about as saturated and neither warmer nor cooler. It is one of the 16 original HTML 4 color names.
Colors that go with Silver
Complementary: the opposite of Silver
#C0C0C0Black text 11.54:1#C0C0C0Black text 11.54:1#DCDCDCBlack text 15.31:1#767676Black text 4.62:1
Analogous
#C0C0C0Black text 11.54:1#C0C0C0Black text 11.54:1#C0C0C0Black text 11.54:1#E5E5E5Black text 16.67:1
Triadic
#C0C0C0Black text 11.54:1#C0C0C0Black text 11.54:1#C0C0C0Black text 11.54:1#EFEFEFBlack text 18.26:1
Monochrome
#343434White text 12.45:1#767676Black text 4.62:1#C0C0C0Black text 11.54:1#D3D3D3Black text 14.03:1#E5E5E5Black text 16.67:1
With neutrals
#C0C0C0Black text 11.54:1#EFEFEFBlack text 18.26:1#161616White text 18.10:1#939393Black text 6.84:1
Preview
Heading on Silver
Body text on this color, 11.54:1.
ButtonHeading in Silver
Text in this color on white, 1.82:1.
ButtonTints and shades
#EFEFEF#E5E5E5#DCDCDC#D3D3D3#C9C9C9#C0C0C0#9A9A9A#767676#545454#343434#161616
WhiteSilverBlack
Similar named colors
Where the name comes from
- Source: Wikipedia, “X11 color names” (checked 1 Nov 2026)
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: