How to replace all pixels of one color with another color using the GIMP

Open the image using GIMP. Then go to Select > By color. Set the threshold to 0 and click a pixel of the color you want to replace.

This will select all pixels of the clicked color. Then simply use the Bucket Fill Tool to fill the selection with a new color.