Goldilocks (n.)

name for a person with bright yellow hair, 1540s, from goldy (adj.) "of a golden color" (mid-15c., from gold (n.)) + plural of lock (n.2). The story of the Three Bears first was printed in Robert Southey's miscellany "The Doctor" (1837), but the central figure there was a bad-tempered old woman. Southey did not claim to have invented the story, and older versions have been traced, either involving an old woman or a "silver-haired" girl (though in at least one version it is a fox who enters the house). The identification of the girl as Goldilocks is attested from c. 1875. Goldylocks also is attested from 1570s as a name for the buttercup.