What is the yellow bar in my profile?

This is XP leveling.

Every time you gain a level, there will be a new Chest waiting for you to open which could contain many different types of rewards!

Your in-game level will need to be 3 in order to play Casual matches and 10 to play Ranked matches (plus 8 heroes unlocked).

The level cap is currently set to 40.