Nut grass actually comes in two different species being yellow nutsedge and purple nutsedge. This plant is very difficult to control.
Depending on what and where you are trying to get rid of nut grass will depend on best method to kill it.
Downs nut grass is yellow in color and the flower heads are orange, fading to white.