Green’s Dictionary of Slang

— yourself phr.

used as a retort, mocking or rebutting what has just been said, e.g. ‘Hello’, ‘Hello yourself.’.

[UK]South Wales Echo 31 Oct. 4/4: ‘Hello, over there!’‘Hello, yourself!’ was the answer.
[Aus]Bulletin (Sydney) 15 Dec. 10/4: Hemmah: ‘Look at that fool Nipper Doyle smokin’ right under the nose of thet big fat trap.’ / Circe: ‘Durn fool yourself, Hemmah Wilks – he’s doin’ that ter show thet ’e’s willin’ ter run eny risk ter prove his love for me.’.
[UK]A.S.G. Lee letter in No Parachute (1968) 24 Nov. 174: ‘Eh, look lads, a bleeding Jerry flier.’ ‘Bleeding Jerry yourself!’ I retorted indignantly.
[UK](con. 1920s) McArthur & Long No Mean City 85: ‘Hullo, Lizzie!’ said he. ‘Hullo yourself,’ she laughed.
[UK]E. Raymond Marsh 138: ‘I’m sick of being jawed at. Good-bye.’ ‘Good-bye yourself!’ shouted the indignant Lulu.
[US]T. Doulis Path for Our Valour 301: ‘Hey ... buddy! You OK?’ Cotter shouted up to the paratrooper. It was obvious to the four men standing under the hanging soldier that he was conscious [...] ‘Yeah,’ the parachutist replied. ‘I’m OK. How’s yourself?’.
[SA]J. Matthews The Park and Other Stories (2nd edn) 19: ‘Hello,’ he grunted. [...] ‘Hello, yourself, small-shit!’.