Coffee grounds are acidic and can cause the soil pH to drop, which would be harmful to the plants growing on your lawn. Additionally, coffee grounds can attract pests like slugs, snails, and rodents, which can damage your lawn. So, you should avoid throwing coffee grounds on the lawn.