Same colour as that yellowed green on that's on switch one below blue
That is not an earth, it is a switch line. Ideally all the conductors connected to the switch should be sleeved red, none are neutrals all live.
The red and black cores to right of photo are part of a single gang, would assume the red is com/L and the black is L1.
The other gang is two way, again assume yellow is com/L and Red is L1 and blue is L2.
The conductor connected to backbox, sleeved green/yellow is the earth (aka CPC). This should stay connected unless you have purchased a metallic switch, then the CPC needs connecting directly to the earth terminal on the switch plate, then ideally a supplementary earth between the switch plate and backbox would be installed.
The most important thing to establish is if you are replacing with a metallic switch plate? That there is a fault path to earth, so continuity must be proved via testing.