Color codes
- HEX
- #dcdcdc
- RGB
- rgb(220, 220, 220)
- HSL
- hsl(0 0% 86%)
- CMYK
- cmyk(0% 0% 0% 14%)
- OKLCH
- oklch(89.4% 0 0)
CSS named color
rgb(220, 220, 220)
1.37:1 on white
Fails WCAG AA
15.31:1 on black
AAA for normal and large text
gainsboro is written as #dcdcdc in hex, rgb(220, 220, 220) in RGB and hsl(0 0% 86%) in HSL. Its lightness sits at 86%, which is why it reads fails wcag aa against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.