Yes is formal, like "yes, sir", and can seem rude or sarcastic in a casual setting. Yeah is the normal use of the word. Yea, is a different spelling used in text messaging, also just means standard casual yes. Yep means the same thing, but also has the tone of like "yeah, I knew that was going to happen" or some disappointment.