Because of the recent Web accessibility Law in my region, I need to ensure I'm designing with an appropriate contrast ratio.
WCAG says the value of this ratio is 4.5:1
http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html
How do I figure this out in in Photoshop and Illustrator?