Astragalus lentiginosus is a species of legume native to western North America where it grows in a range of habitats. Common names include spotted locoweed and freckled milkvetch. There are a great number of wild varieties. The flower and the fruit of an individual plant are generally needed to identify the specific variety.
From Wikipedia (“Astragalus lentiginosus”), CC BY-SA
Photo Hadley Paul Garland, some rights reservedCC BY-SAiNaturalistChanges: resized