Firefly luciferase bioluminescence color can vary between yellow-green (λ = 550 nm) to red (λ = 620). There are currently several different mechanisms describing how the structure of luciferase affects the emission spectrum of the photon and effectively the color of light emitted.
One mechanism proposes that the color of the emitted light depends on whether the product is in the keto or enol form. The mechanism suggests that red light is emitted from the keto form of oxyluciferin, while green light is emitted from the enol form of oxyluciferin. However, 5,5-dimethyloxyluciferin emits green light even though it is constricted to the keto form because it cannot tautomerize.
Another mechanism proposes that twisting the angle between benzothiazole and thiazole rings in oxyluciferin determines the color of bioluminescence. This explanation proposes that a planar form with an angle of 0° between the two rings corresponds to a higher energy state and emits a higher-energy green light, whereas an angle of 90° puts the structure in a lower energy state and emits a lower-energy red light.
The most recent explanation for the bioluminescence color examines the microenvironment of the excited oxyluciferin. Studies suggest that the interactions between the excited state product and nearby residues can force the oxyluciferin into an even higher energy form, which results in the emission of green light. For example, Arg 218 has electrostatic interactions with other nearby residues, restricting oxyluciferin from tautomerizing to the enol form.  Similarly, other results have indicated that the microenvironment of luciferase can force oxyluciferin into a more rigid, high-energy structure, forcing it to emit a high-energy green light.