Personally if it is yellow discharge, I would go to the vet to be on the safe side. We caught an early eye infection with our boy as we were also concerned about yellow discharge even though he used to get quite a little build up of gummy stuff from his eyes.
Their eyes are so precious. Check with the vet just to be safe.