Yes, compost is actually a great way to help you turn your yellow grass back to green. Compost, just like fertilizer, is a great way to improve the pH levels in your soil and restore nutrients to the soil that it is lacking, leading to your grass' yellow state. Persist Green Bull Lawn and Garden Fertilizer is highly rated at Amazon.