Take a close look, the gray squares marked A and B are both the same shade of gray. This is caused by the effect of a shadow darkening the surrounding squares.