Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Industrial Technology

Standard Wiring Color Codes for AC & DC Circuits – IEC, US, UK & Canada

Accurate wiring color identification is essential for safe and compliant electrical installations. Depending on the region and the type of system—AC or DC—different standards apply. Below is a concise, authoritative reference that follows the latest IEC guidelines, U.S. NEC, and local codes.

IEC (International Electrotechnical Commission) – AC Wiring Color Codes (Most of Europe)

FunctionLabelColor (IEC)Color (Legacy IEC)
Protective earthPEGreen‑YellowGreen‑Yellow
NeutralNBlueBlue
Line, single phaseLBrownBrown or Black
Line, 3‑phase – L1L1BrownBrown or Black
Line, 3‑phase – L2L2BlackBrown or Black
Line, 3‑phase – L3L3GreyBrown or Black

Legacy codes did not guarantee proper phase rotation; the modern IEC system does. The protective ground is green with a yellow stripe.

Standard Wiring Color Codes for AC & DC Circuits – IEC, US, UK & Canada

Click to expand infographic

United Kingdom – AC Wiring Color Codes

FunctionLabelColor (IEC)Old UK Color
Protective earthPEGreen‑YellowGreen‑Yellow
NeutralNBlueBlack
Line, single phaseLBrownRed
Line, 3‑phase – L1L1BrownRed
Line, 3‑phase – L2L2BlackYellow
Line, 3‑phase – L3L3GreyBlue

United States – AC Wiring Color Codes

The U.S. National Electrical Code (NEC) mandates white or grey for neutral and a bare, green, or green‑yellow stripe for protective ground. All other colors may be used for hots, but local practice is consistent:

FunctionLabelCommon ColorAlternative Color
Protective groundPGBare, green, or green‑yellowGreen
NeutralNWhiteGrey
Line, single phaseLBlack or Red (2nd hot) 
Line, 3‑phase – L1L1BlackBrown
Line, 3‑phase – L2L2RedOrange
Line, 3‑phase – L3L3BlueYellow

Canada – AC Wiring Color Codes

Canadian Electrical Code (CEC) follows a similar pattern to the U.S., with specific color conventions for single‑phase and three‑phase systems.

FunctionLabelColor (Common)
Protective groundPGGreen or green‑yellow
NeutralNWhite
Line, single phaseLBlack or Red (2nd hot)
Line, 3‑phase – L1L1Red
Line, 3‑phase – L2L2Black
Line, 3‑phase – L3L3Blue

IEC – DC Wiring Color Codes

DC installations, such as solar arrays and data centers, adopt the same color logic as AC for safety and interoperability. Below is the IEC standard for DC systems, adapted from Cook’s Table 2.

FunctionLabelColor
Protective earthPEGreen‑Yellow
2‑wire unearthed DC system
PositiveL+Brown
NegativeL-Grey
2‑wire earthed DC system
Positive (negative‑earthed)L+Brown
Negative (negative‑earthed)MBlue
Positive (positive‑earthed)MBlue
Negative (positive‑earthed)L-Grey
3‑wire earthed DC system
PositiveL+Brown
Mid‑wireMBlue
NegativeL-Grey

United States – Recommended DC Wiring Color Codes

NEC requires grounded neutrals to be white or grey, and protective grounds to be bare, green, or green‑yellow. Hot conductors may be any other color, but local inspectors typically advise black for the first hot and red for the second. The table below follows Wiles’ recommendations. Ungrounded systems are discouraged for safety.

FunctionLabelColor
Protective groundPGBare, green, or green‑yellow
2‑wire ungrounded DC system
PositiveL+No recommendation (red)
NegativeL-No recommendation (black)
2‑wire grounded DC system
Positive (negative‑grounded)L+Red
Negative (negative‑grounded)NWhite
Positive (positive‑grounded)NWhite
Negative (positive‑grounded)L-Black
3‑wire grounded DC system
PositiveL+Red
Mid‑wire (center tap)NWhite
NegativeL-Black

For precise calculations of wire sizes and resistances, explore our Wire & Resistor Calculators in the Tool section.

Industrial Technology

  1. Understanding AC Circuits: A Beginner's Guide
  2. Resistor Color Codes – A Comprehensive Guide to Decoding Value, Tolerance, and E-Series Standards
  3. Comprehensive Wiring Color Codes Guide – U.S., Europe, Canada & More
  4. Power Sources: AC and DC Explained
  5. Emergency Generator Systems: Construction, Installation, Maintenance, and Wiring for Reliable Power
  6. AC & DC Wiring Color Codes: NEC & IEC Standards for Safe, Compliant Installations
  7. ABYC Cable & Wire Color Coding Guide for Yachts, Boats, and Marine Wiring
  8. Capacitor Color Codes Explained – How to Read Capacitor Values & Use the Calculator
  9. Master Inductor Color Codes: Quick Guide to Decode Inductance Values
  10. Mastering Resistor Color Codes: Quick Guide for Electronics