Cover up all but about an inch of the image and you’ll see beige balls. The illusion happens when your eyes are assaulted with the entire image.
I downloaded the image and used the color picker in Photoshop to sample the same areas of the various colors. The results were surprisingly similar.