While technically "Buenos días" (good morning), "Buenas tardes" (good afternoon) and "Buenas noches" (good evening) are also greetings, they are typically reserved for more formal situations or when addressing someone you don't know well.
In casual settings, "Hola" is the most appropriate and frequently used greeting.