What is color contrast?
Color contrast is the visible difference between two colors placed side by side, such as text and its background. On websites, it usually refers to the difference in lightness between the foreground and background colors. The greater the difference, the easier it is to see and read text and interface elements. Accessibility standards measure it as a contrast ratio.