Yellow grass is still alive and can still recover. The grass turns yellow when it is under stress and only supplies its energy to the essential parts of the plant. It sacrifices some of its leaves to survive until it regains access to plant food or water.
The grass is dead if the leaves turn brown and become flakey or crusty.