Grayscale testing

Touching colors must have a minimum 30% grayscale differential (contrast) or the human eye struggles to find the edges. This retinal error can cause an optical effect known as popping. This color “secret” is not generally taught in design schools.

I do my tests in Photoshop with screengrabs. No particular reason. Habit?