Oh yes, throwing it out would be a waste. There are plenty of charities that would be so grateful to receive the yarn and often, acrylic and acrylic blens are preferred. Have you looked for senior centers or school programs in your area? Where are you located?
If you're nearby, Carewear Volunteers based in Frederick, Maryland uses yarn donations to make caps, blankets, lapghans, etc for hospitals and other facilities.