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 turned on in Settings > Accessibility > Display & Text Size.
A green indicator means either the camera only or the camera and microphone are being used by an app on your iPhone.