In this scenario, Ann is comparing the number of students wearing green to the total number of students in her class. This represents a part to whole relationship, since she is looking at a part of the class (those wearing green) in relation to the whole class (all 30 students).
So the answer is part to whole.