The following resources aid the user in checking the contrast of foreground and background elements to ensure adequate contrast for readability.
Color Contrast Analyzer (CCA)
The Color Contrast Analyzer is a desktop application that will take a foreground and background color and provide information on the level of WCAG compliance as well as its contrast ratio.
WebAIM Color Contrast Checker
The WebAIM Color Contrast Checker performs the same kind of function as the CCA above, but it is hosted on a webpage rather than as a desktop app.
Colorzilla
Colorzilla is an extension that allows the user to grab the hex codes of various colors on a webpage, among providing other color-related utilities. It does not include contrast checking.
Coloring for Colorblindness
This page provides an interactive space to play with colors and palettes while also considering how they would be perceived by colorblind viewers.