Inspect Silver (#C0C0C0) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.
Silver
#C0C0C0
Black text reads best on this background, at 11.54:1.
Silver is one of the 148 CSS named colors, and resolves to #C0C0C0 in every browser. In numbers that is rgb(192, 192, 192) and hsl(0, 0%, 75%). Perceptually it is a light, near-neutral color: OKLCH puts its lightness at 81% and its chroma at 0. It carries almost no chroma, so it behaves as a neutral rather than as a hue, and belongs with the grays.
White text only reaches 1.82:1 here, so black text is the safer pairing at 11.54:1. With this little chroma it recedes, which makes it useful for borders, dividers and secondary surfaces.
The closest CSS named colors to Silver, measured with CIEDE2000, are LightGray (#D3D3D3), LightGrey (#D3D3D3), DarkGray (#A9A9A9). If Silver is not quite right, those are the nearest keywords to try before reaching for a custom value.
HEX
#C0C0C0
RGB
rgb(192, 192, 192)
HSL
hsl(0, 0%, 75%)
HWB
hwb(0 75% 25%)
CMYK
cmyk(0%, 0%, 0%, 25%)
LAB
lab(77.7 0 0)
LCH
lch(77.7 0 0)
OKLCH
oklch(80.78% 0 0)
WCAG asks for 4.5:1 between body text and its background. On #C0C0C0 white text measures 1.82:1 and black text 11.54:1, so black clears it and white does not.
White text on Silver
WCAG 2.2
1.82:1
APCA
Lc 38
Fails AA body text
Fails AAA body text
Fails AA large text
Black text on Silver
WCAG 2.2
11.54:1
APCA
Lc 69
Passes AA body text
Passes AAA body text
Passes AA large text
Check Silver against any other color in the contrast checker.
Silver sits at 81% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #F8F8F8 and down to #060606, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.
#CBCBCB
20% lighter
#D6D6D6
40% lighter
#E1E1E1
60% lighter
#EDEDED
80% lighter
#F8F8F8
100% lighter
#959595
20% darker
#6C6C6C
40% darker
#464646
60% darker
#232323
80% darker
#060606
100% darker
Build a full accessible scale from #C0C0C0 in the shade generator.
Silver barely moves under any of the four common forms of color blindness, the largest shift being 0 CIEDE2000 units under protanopia. It stays recognizable, though it still should not be the only thing carrying meaning.
Protanopia
#C0C0C0
Deuteranopia
#C0C0C0
Tritanopia
#C0C0C0
Achromatopsia
#C0C0C0
The nearest CSS keywords to #C0C0C0, ranked by perceptual distance rather than by how close their hex digits happen to look.