''Dillwynia elegans'' is a shrub in the pea family found in New South Wales, Australia. The habitat is rocky sandy ridges or in dry sclerophyll forest. Distributed from Port Jackson to the east of Rylstone. The form is robust, and leaves are smooth. The plant can grow to 3 metres tall. Attractive yellow and red pea-type flowers form in spring.