It's a casual greeting used in most situations, both formal and informal.
You can also use "Moikka" which is a more informal and friendly greeting.
For more formal situations, you might use "Hyvää päivää" (Good day) or "Hyvää iltapäivää" (Good afternoon).