Silver
Hex #C0C0C0, rgb(192 192 192). A gray or black CSS named color.
Open in palette generatorSilver color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Silver
Silver is a light neutral gray with the hex code #C0C0C0. In RGB it is made of 192 red, 192 green and 192 blue; in HSL its hue is 0°, with 0% saturation and 75% lightness. Its perceptual lightness (OKLCH L) is 80.8%.
It is a CSS named color, so you can write "silver" anywhere CSS accepts a color. Against white it has a contrast ratio of 1.82:1 and against black 11.54:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Silver mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Silver 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Silver
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Contrast and readability
WCAG 2 contrast of Silver with white and black. The readable text color on Silver is black.
On white1.82:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 34
On black11.54:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -69
Test any pair in the contrast checker.
Color blindness preview
How Silver appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#C0C0C0
- Deuteranopia#C0C0C0
- Tritanopia#C0C0C0
- Protanomaly#C0C0C0
- Deuteranomaly#C0C0C0
- Tritanomaly#C0C0C0
- Achromatopsia#C0C0C0
Colors similar to Silver
The closest named colors by perceptual difference (OKLab).
Use Silver in CSS and Tailwind
.silver {
color: silver; /* #C0C0C0 */
background-color: rgb(192 192 192);
border-color: oklch(80.8% 0 0);
}/* Tailwind CSS v4: bg-silver-500, text-silver-700... */
@theme {
--color-silver-50: #FAFAFA;
--color-silver-100: #EDEDED;
--color-silver-200: #DBDBDB;
--color-silver-300: #C0C0C0;
--color-silver-400: #9C9C9C;
--color-silver-500: #868686;
--color-silver-600: #727272;
--color-silver-700: #5B5B5B;
--color-silver-800: #494949;
--color-silver-900: #3B3B3B;
--color-silver-950: #161616;
}
<!-- or the exact color, no config -->
<div class="bg-[#C0C0C0] text-[#000000]">…</div>