WebAIM Contrast Checker is a tool that allows you to enter or select foreground and background colours and lighten or darken the colours slightly to find acceptable text and graphical contrast levels based on the WCAG 2.0 luminosity formula.
Use the WebAIM lightness slider to adjust the selected colour. Accessible text colours are generated with
You can enter the text that you wish to analyse on this webpage.