
Contrast is the difference in lightness between text and the background behind it. It is the accessibility requirement that shows up most often in real business websites, usually as light grey body text on white, or white text over a photograph.
The numbers
The Web Content Accessibility Guidelines ask for a contrast ratio of at least 4.5 to 1 for normal text, and at least 3 to 1 for large text, which means roughly 18 point, or 14 point when bold. Text that is part of a logo, pure decoration, or inside a picture with other significant content is exempt, and so are inactive controls such as a button that cannot yet be pressed.
Why lightness matters more than colour
Contrast is calculated from relative luminance rather than hue, because colour vision deficiency changes which colours look alike but not how light or dark they are. That is also why a brand palette that looks fine to the designer can be unreadable to a customer in their sixties reading on a phone outdoors.
Where business sites usually fail
Placeholder text in form fields, captions under images, text over hero photographs, coloured text on coloured buttons, and the hover or focus state of a link that nobody tested. Each is a small fix and each one is a real barrier.
How to check a palette
Run the text and background pairs from your brand guide through a contrast checker, including the lighter tints used for secondary text. Test text placed over images at the darkest and lightest points of the picture, not just the average. Then write the passing pairs into the brand guide so the next person does not have to rediscover them.
Treat it as design, not compliance
Readable text is simply better design. A palette that passes contrast looks confident on a phone in daylight, which is where most of your visitors are.
Source: https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html. This article combines the linked guidance with editorial workflow advice; it is not a certification or a promise of business results.
Explore the Pixeleator portfolio or discuss your website project.