Electronics lookup

Wire Color Codes

Wire color conventions for US (NEC), IEC (European), and low-voltage thermostat wiring.

16 entries

FunctionRegionColorVoltage
US (NEC)-Hot 1 / LineUS (NEC)Black120/240V
US (NEC)-Hot 2 / LineUS (NEC)Red120/240V
US (NEC)-Hot 3 / LineUS (NEC)Blue120/240V
US (NEC)-NeutralUS (NEC)White120/240V
US (NEC)-GroundUS (NEC)Green / Bare120/240V
US (NEC)-TravelerUS (NEC)Red / Black120V
US (NEC)-Switch legUS (NEC)Black120V
IEC-Line 1IECBrown230V
IEC-Line 2IECBlack230V
IEC-Line 3IECGrey230V
IEC-NeutralIECBlue230V
IEC-GroundIECGreen/Yellow230V
Thermostat-Heat (Rh/Rc)ThermostatRed24V
Thermostat-Cooling (Y)ThermostatYellow24V
Thermostat-Fan (G)ThermostatGreen24V
Thermostat-Heat (W)ThermostatWhite24V
FAQ

About this lookup

What color is ground?
US: green or bare. EU: green/yellow stripe. Always check local code.
What if a wire is the wrong color?
Do not assume. Always test with a multimeter before touching.