"The intent of this Success Criterion is to provide enough contrast between text and its background so that it can be read..." [1] So, how do you go about determining if the text on your site has a contrast ratio of at least 4.5 to 1? Fortunately, the answer is made fairly easy by the using WebAIM's website Contrast Checker.
This site allows you to enter a foreground color (the text) and a background color.
The site then automatically returns results that indicate whether the contrast will pass or fail each portion of the guideline, which includes minimum and maximum WCAG requirements for normal text, large text, and graphical / user interface components (like a text entry box).
The caveat to using the WebAIM Contrast Checker website is that you must know the font and background color's HEX code. (Color HEX codes begin with the pound sign followed by a six numbers/letters. For instance, the color white is #FFFFFF and black is #000000.) Don't worry though, there are several websites available for you to find this information. Such as: