6. Almost packed it in as only had 3 letters (only 1 green) on 5th guess. Took ages to come up with it.
Three oranges on my the first word, then two green and two oranges on the second, then a little thought meant that there was only one option to get it in three