An orange indicator means the microphone
is being used by an app on your iPhone. This indicator appears as an orange square if the Differentiate Without Color setting is on. To enable Differentiate Without Color, go to Settings > Accessibility > Display & Text Size.
A green indicator means either the camera or the camera and the microphone are being used by an app on your iPhone.