Optical Illusion

This optical illusion has been sitting idle on my hard drive for months so I’m very happy that I can finally share it with you. Take a look at the squares labeled A and B. Are they the same shade of grey or different? The answer might be obvious.

Color perception in an optical illusion

Want to check your guess? The solution is here.