It depends on the context. for example:
i pass the exam with flying colors - я сдал экзамен на отлично.
Here "отлично" means to get highest grade.
Great! I like that idea. - Отлично! Мне нравится эта идея.
Here it means agreement and full approval.
Fine, do as you wish. - Отлично, поступай как считаешь нужным.
Here it is the same but the negative nuance, just shows your irritation.