The common belief is that amber means hurry up. It does not. The sequence is designed so that amber gives you time to stop, not time to get through.
The exception is narrow and it is about physics, not convenience. If you are so close that braking would risk a collision, usually from the vehicle behind, you may continue. If you could have stopped safely and chose not to, you have contravened the signal.
Where people get caught out: entering a box junction on amber and then stopping inside it is a separate contravention, enforced by councils in many areas. Camera-enforced junctions measure whether the line was crossed after the signal changed, not whether you felt able to stop.