Firefly luciferases produce yellow-green light under physiological and alkaline conditions, however at acidic pH, higher temperatures or in the presence of heavy metals the color changes to red, a property called pH-sensitivity. Despite many decades of studies, the proton and metal binding sites responsible for pH-sensitivity remain enigmatic. Previously we suggested that the salt bridge E311/R337 keeps a closed conformation of the luciferin phenolate binding site. Here we further investigated the effect of this salt bridge and mutations of the neighbor residues H310 and E/N354, on metal and pH-sensitivity of firefly luciferases emitting distinct bioluminescence colors (Cratomorphus distinctus: 548 nm; Macrolampis sp2: 569 nm). The substitutions of H310 and E/N354 modulate metal sensitivity, whereas the carboxylate of E311 may work as the catalytic base essential for green bioluminescence and pH-sensitivity. Modeling studies showed that H310, E311 and E354 side-chains coordinate Zinc, constituting the metal binding site and the pH-sensor. Electrostatic potential and pKa calculations suggest that the external couple H310/E354 is affected by pH, whereas E311/R337 make a stabilized internal pair which retains excited oxyluciferin ejected proton near its phenolate group into a high energy state, promoting yellow-green bioluminescence. Protonation or metal binding weaken these electrostatic gates and their ability to retain the excited oxyluciferin released proton near its phenolate, promoting red light emission.