The habitats where yellow-rattle~(Rhinanthus minor) grows:

Brownfield
Coastal floodplain grazing marsh
Dune slack
Hard cliff and cliff slope
Limestone pavement
Lowland calcareous grassland
Lowland fen
Lowland meadow and pasture
Machair sand dune
Montane scrub
Mountain ledge
Northern hay meadow
Purple moor grass and rush pasture
Sand dune
Traditional orchard