Some lawn grasses naturally go yellow/brown in the heat of summer. Don't know how far south you are but here in Vancouver, BC we have "cool-season" grasses and that's what they do. Grow like crazy in the cool weather of
spring and fall then slow down in summer.
Besides water and fertilizer try cutting the grass less often and a bit higher. When you cut, leave the clippings on the lawn if they are not too thick. They will break down quickly and provide a natural source of nitrogen fertilizer as well as conserve moisture and keep the top layer of soil and the grass cool by acting as a mulch.
When you water, water infrequently but deeply. That means leave the sprinkler on longer but less often. This develops stronger roots.
If you're concerned about having awful looking long grass remember, long grass is better than no grass.