Electrical Wiring Color Codes for AC & DC – NEC & IEC
Wire and Cable Color Codes for AC Single-Phase, Three-Phase, and DC Circuits
Electrical engineers, contractors, traders, manufacturers, and especially electricians worldwide use different wiring color codes for wire and cable installations and electrical distribution in industrial buildings or residential homes. Some of these color codes are mandatory, while others are optional. Using the correct wiring color codes is essential for identifying line, neutral, and ground wires, saving time, simplifying maintenance and troubleshooting, and ensuring the safety of those working on the system.
Different regions use various colors for wires and cables in AC (Alternating Current) single-phase, three-phase, and DC (Direct Current) systems, according to local codes, rules, and regulations. Some well-known standards include the NEC (National Electrical Code) used in the US, CEC in the Canada, and the IEC (International Electrotechnical Commission) standard, followed by the UK (Including BS 7671), most European countries, and nations like Argentina.
In this tutorial, we will discuss the different wiring color codes for AC (single-phase and three-phase) and DC power systems according to the NEC and IEC standards. Many countries, including the UK (BS-7671), China, Russia, Hong Kong, Singapore, Ukraine, Belarus, Kazakhstan, Turkey, Israel, South Africa, Argentina, Malaysia, Saudi Arabia (KSA), and the UAE, have adopted IEC wiring color codes. We will also cover the wiring color codes used in the US, Canada, UK, EU, Australia, New Zealand, Russia, China, Japan, India, Pakistan, and South Africa.
Related Posts
- Resistor Color Code Calculator – 3, 4, 5 & 6 Band Resistors Calculation
- Capacitor Color Codes – How To Read Capacitor Value? Calculator
- Inductor Color Codes – How To Read Inductor Value? Calculator
Click image to enlarge
NEC Wiring Color Codes for AC – US & Canada
US – NEC (Single & Multi-Phase) Wiring Color Codes
The mandatory colors for power wiring in the National Electrical Code (NEC) are Green, Bare, or Green/Yellow (a yellow stripe or band on green) for the protective ground (PG), and White (or alternatively Gray) for the neutral wire. However, any other colors, except those mentioned above, can be used for live (line or hot) wires. Meanwhile, the following colors are commonly adopted in local practice and used for line, neutral, and ground wires as follows.
Single Phase Wiring Color Codes
120V AC – 1-Phase:
- BLACK = Phase , Hot or Line “L“
- WHITE = Neutral “N”
- GREEN, BARE or GREEN / YELLOW = Ground Conductor (Protective Ground) “PG“
240V AC – 1-Phase:
This is also known as two phase or split phase AC supply but mostly called single phase supply.
- BLACK = Phase 1 , Hot 1 or Line 1 “L1”
- RED = Phase 2 , Hot 2 or Line 2, “L2”
- WHITE = Neutral “N”
- GREEN, BARE or GREEN / YELLOW = Ground “PG”
Three Phase Wiring Color Codes
Three Phase 208V AC:
- BLUE = Phase 1 , Hot 1 or Line 1 “L1”
- ORANGE = Phase 2 , Hot 2 or Line 2 “L2” (Orange color used for High Leg or Power Leg Delta)
- BLACK = Phase 3 , Hot 3 or Line 3 “L3”
- WHITE = Neutral “N”
- GREEN, BARE or GREEN / YELLOW = Ground “PG”
Note: 208V Single Phase available between High Leg Line and Neutral / Ground.
Three Phase 277V & 480V (US) & 600V/347V (Canada) AC:
The following i.e. 277V and 480V AC (US) and 600V/347V (in Canada) supplies are used for industrial and high power equipment such as motors and heaters in factories and production units.
- BROWN = Phase 1 , Hot 1 or Line 1 “L1”
- ORANGE = Phase 2 , Hot 2 or Line 2 “L2”
- YELLOW = Phase 3 , Hot 3 or Line 3 “L3”
- GRAY = Neutral “N”
- GREEN, BARE or GREEN / YELLOW = Ground “PG”
Related Post: How to Find the Rating (Current & Voltage) of a Switch, Plug, Outlet etc?
Canada – CEC (Single & Three-Phase) Wiring Color Codes
Canadian Electrical Code “CEC” wiring color codes are similar in practice with National Electrical Code “NEC” except that White color is used for Neutral Wire and Green or bare conductor is used for protective ground. In some cases, the 1st and 2nd phase (lines) colors are in an inverse position as compared to NEC.
In short, the fowling wiring color codes are practiced in Canada.
Single Phase AC:
Mostly 120V and 240V (there is a second hot or phase wire in 240V single phase AC system).
- RED or BLACK= Phase , Hot or Line, (In case of two lines) “L1 or L2”
- WHITE = Neutral “N”
- GREEN, BARE or GREEN / YELLOW = Ground Conductor “PG”
Three Phase AC (Mandatory)
Wire colors used for 208V multiphase powers circuits
- RED = Phase 1 or Line 1, “L1”
- BLACK = Phase 2 or Line 2 “L2”
- BLUE = Phase 3 or Line 3 “L3”
- WHITE or GRAY = Neutral “N”
- GREEN, BARE or GREEN / YELLOW = Ground “PG”
Three Phase AC (Isolated)
These colors are used for multi-phase 277 & 480V in Canada.
- ORANGE = Phase 1 or Line 1 “L1”
- BROWN = Phase 2 or Line 2 “L2”
- YELLOW = Phase 3 or Line 3 “L3”
- WHITE or GRAY = Neutral “N”
- GREEN, BARE or GREEN / YELLOW = Ground “PG”
Related Post: How to Find the Proper Wire and Cable Size for Electrical Wiring Installation – IEC & NEC
NEC Wiring Color Codes for DC – US & Canada
There are some differences between AC and DC systems, so the wire color codes for DC differ slightly from those for AC in both NEC and IEC standards. These DC color codes are used for solar power and panels, batteries, vehicles, and other DC-powered equipment, such as computer data centers and wiring installations.
Similar to AC systems, the mandatory colors for grounded neutral wires are White or Gray, and the protective ground wire should be Green, bare conductor, or Green with a Yellow stripe. Any other colors may be used for hot (phase) wires. These codes apply to both AC and DC power circuits.
In the US, local practice typically uses Black for Phase 1 (Hot 1) or Line 1 (L1) and Red for Phase 2 (Hot 2) or Line 2 (L2). Additionally, the following wiring color codes are used in the US and Canada for two-wire grounded, two-wire ungrounded, and three-wire grounded DC power systems.
Two Wire Ungrounded DC Supply
- RED = +Ve (L+)
- BLACK = -Ve (L-)
- GREEN, BARE CONDUCTOR or GREEN / YELLOW = Protective Ground “PG”.
Two Wire Grounded DC Supply
- RED = +Ve of a -Ve Grounded Circuit (L+)
- WHITE = -Ve of a -Ve Grounded Circuit (N)
- WHITE = +Ve of a +Ve Grounded Circuit (N)
- BLACK = -Ve of a +Ve Grounded Circuit (L-)
- GREEN, BARE CONDUCTOR or GREEN / YELLOW = Protective Ground “PG”.
Three Wire Grounded DC Supply
- RED = +Ve (L+)
- WHITE = Mid-Wire as Center Tapped (N)
- BLACK = -Ve (L-)
- GREEN, BARE CONDUCTOR or GREEN / YELLOW = Protective Ground “PG”.
Related Posts:
- How to Size a Generator? Portable, Backup & Standby for Home & Commercial Applications
- How to Connect a Portable Generator to Home Supply System (Three Methods)
IEC Wiring Color Codes for AC – UK , EU & Other Countries
As mentioned above, most of the Europe Union countries and UK, China, Russia, Hong Kong, Singapore, Ukraine, Belarus, Kazakhstan, Israel, Turkey, Argentina, South Africa, KSA (Saudi Arabia), UAE (United Arab Emirate) and Malaysia are following the IEC “International Electrotechnical Commission” wiring codes based on IEC 60445:2021. Keep in mind that some of the above mentioned countries such as UK, Russia & China etc. were using their own “Old wiring color codes” but now follow the IEC power circuit wire codes.
UK & EU: IEC AC (Single & Three-Phase) Wiring Color Codes
UK New (IEC) Wire Color Codes
Single Phase AC 230V
- BROWN = Phase , Hot or Line, (L)
- BLUE = Neutral (N)
- GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Three Phase AC 415+ V
- BROWN = Phase 1 or Line, (L1)
- BLACK= Phase 2 or Line 2, (L2)
- GRAY= Phase 3 or Line 3, (L3)
- BLUE = Neutral (N)
- GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Related Post: How to find the Proper Size of Circuit Breaker For Installation?
UK Old Wiring Color Codes
Prior to March 2004, the UK were following their own wiring color codes. These old wiring color codes are still used in the subcontinents including India, Pakistan, UAE and South Africa.
Single Phase AC 230V
- RED = Phase , Hot or Line, (L)
- BLACK = Neutral (N)
- GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Three Phase AC 415+ V
- RED = Phase 1 or Line, (L1)
- YELLOW = Phase 2 or Line 2, (L2)
- BLUE = Phase 3 or Line 3, (L3)
- BLACK = Neutral (N)
- GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Related Post: Electrical Wire & Cable Size Calculator (Copper & Aluminum)
China & Russia Wiring Color Codes
China PRC & Russia (Old) Wiring Color Codes
Single Phase AC
- YELLOW = Phase , Hot or Line, (L)
- SKY BLUE or BLACK = Neutral (N)
- GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Three Phase AC – China
- YELLOW = Phase 1 or Line, (L1)
- GREEN = Phase 2 or Line 2, (L2)
- RED = Phase 3 or Line 3, (L3)
- LIGHT BLUE or BLACK = Neutral (N)
- GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Related Post: American Wire Gauge “AWG” Chart – Wire Size & Ampacity Table
Russia New Wiring Color Codes
Russia was following the same wiring color codes as China before but they adapted the IEC with little bit changes i.e. in a three phase system, they may use purple or gray color instead of gray in IEC. As things are little bit changed in Russia, so one must follow the tester before going in the mess.
Single Phase AC
- BROWN = Phase , Hot or Line, (L)
- BLACK = Neutral (N)
- GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Three Phase AC
- BROWN = Phase 1 or Line, (L1)
- BLACK = Phase 2 or Line 2, (L2)
- GRAY or PURPLE = Phase 3 or Line 3, (L3)
- LIGHT BLUE = Neutral (N)
- GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Related Post: A Complete Guide About Solar Panel Installation. Step by Step Procedure with Calculation & Diagrams
Australia & New Zealand Wiring Color Codes
Both Aussies and Kiwis are using the same wiring color codes according to AS/NZS 3000:2018 for single phase and three phase power circuits followed by IEC..
Single Phase AC
- RED or BROWN = Phase , Hot or Line, (L)
- BLACK or SKY BLUE = Neutral (N)
- GREEN or GREEN / YELLOW = Earth Conductor “Protective earth” (PE)
Three Phase AC
- RED or BROWN = Phase 1 or Line, (L1)
- WHITE = Phase 2 or Line 2, (L2)
- BLUE = Phase 3 or Line 3, (L3)
- BLACK or LIGHT BLUE = Neutral (N)
- GREEN or GREEN / YELLOW = Earth Conductor “Protective earth” (PE).
Japan Wiring Color Codes
As the name suggests, Japan always does weird things. The single phase supply is 100V (Line to Neutral) and Three Phase supply is 200V (3 Lines, No Neutral). For wow reaction, Check the common neutral and 3rd Phase colors. They are the same i.e. white (Read the following note after the three phase codes for explanation). For electrical wiring installations, Japanese electricians use the following wiring color codes according AGN 203 – Japanese National Electrical Distribution System:
Single Phase AC
- BLACK or RED = Phase , Hot or Line, (L)
- WHITE = Neutral (N)
- GREEN = Earth Conductor “Protective earth” (PE)
Three Phase AC
- BLACK = Phase 1 or Line, (L1)
- RED = Phase 2 or Line 2, (L2)
- WHITE = Phase 3 or Line 3, (L3)
- WHITE = Common Neutral (N) (Used in Two Lines System Only)
- GREEN = Earth Conductor “Protective earth” (PE)
Keep in mind that in case of three phase supply, there is no need for neutral wire here in Japan. So don’t panic with the “3rd Line” in three phases and the common Neutral as a White color.
Related Posts:
- How to wire a GFCI Outlet? – GFCI Wiring Circuit Diagrams
- How to Wire an AFCI Outlet? – AFCI Wiring Circuit Diagrams
India, Pakistan, UAE, KSA & South Africa Wiring Color Codes
India, Pakistan, and other countries in the subcontinent, as well as the UAE (United Arab Emirates), KSA (Kingdom of Saudi Arabia), and South Africa (also known as the “Proteas”), traditionally followed the old UK wiring color codes. These include RYB (Red, Yellow, and Blue for three-phase systems) and Red and Black for phase and neutral, respectively. Although South Africa and others have now adopted the IEC standard, these older color codes are still in use in many regions.
Single Phase 230V AC
- RED = Phase , Hot or Line, (L)
- BLACK = Neutral (N)
- YELLOW / GREEN = Earth Conductor “Protective earth” (PE)
Three Phase 415+ AC
- RED = Phase 1 or Line, (L1)
- YELLOW = Phase 2 or Line 2, (L2)
- BLUE = Phase 3 or Line 3, (L3)
- BLACK = Common Neutral (N) (Used in Two Lines System Only)
- YELLOW / GREEN = Earth Conductor “Protective earth” (PE)
Israel Wiring Color Codes
Some countries adapted the IEC wring codes with little bit modifications. Israel follow the IEC codes with the local practiced wiring are as follow:
Single Phase 230V AC
- BROWN = Phase , Hot or Line, (L)
- BLUE = Neutral (N)
- YELLOW / GREEN = Earth Conductor “Protective earth” (PE)
Three Phase 415+ AC
- BROWN (Or L1 Marking Sleeve) = Phase 1 or Line, (L1)
- BROWN (ORANGE STRIP) (Or L2 Marking Sleeve) = Phase 2 or Line 2, (L2) (Or L2 Marking Sleeve)
- BROWN (BLACK STRIP) (Or L3 Marking Sleeve) = Phase 3 or Line 3, (L3)
- BLUE = Common Neutral (N)
- YELLOW / GREEN = Earth Conductor “Protective Earth” (PE)
Related Posts:
- How to Wire GFCI Combo Switch and Outlet
- How to Wire an AFCI Combo Switch & Outlet
- How to Wire a GFCI Circuit Breaker?
Indonesia Wiring Color Codes
Single Phase AC Supply
- RED or BLACK = Phase , Hot or Line, (L)
- BLUE = Neutral (N)
- YELLOW / GREEN = Earth Conductor “Protective earth” (PE)
Three Phase AC Supply
- RED = Phase 1 or Line, (L1 or R)
- YELLOW = Phase 2 or Line 2, (L2 or S)
- BLACK = Phase 3 or Line 3, (L3 or T)
- BLUE = Common Neutral (N)
- YELLOW / GREEN = Earth Conductor “Protective Earth” (PE)
IEC Wiring Color Codes for DC – UK & EU
The IEC DC wiring color codes are adopted from IEC AC wiring color codes based on IEC 60445:2021. These rules are applicable in the UK, EU and all other countries who follow the new IEC color codes instead of local and regional codes. The following IEC DC wiring color codes are used for Two-Wire Grounded, Two-Wire ungrounded and Three Wire grounded DC power systems.
Two Wire Ungrounded DC Supply
- BROWN = +Ve (L+)
- GRAY = -Ve (L-)
- GREEN / YELLOW = Protective Earth “PE”.
Two Wire Grounded DC Supply
- BROWN = +Ve of a -Ve Grounded Circuit (L+)
- BLUE = -Ve of a -Ve Grounded Circuit (M)
- BLUE = +Ve of a +Ve Grounded Circuit (M)
- GRAY = -Ve of a +Ve Grounded Circuit (L-)
- GREEN / YELLOW = Protective Earth “PE”.
Three Wire Grounded DC Supply
- BROWN = +Ve (L+)
- BLUE = Mid-Wire as Center Tapped (N)
- GRAY = -Ve (L-)
- GREEN / YELLOW = Protective Earth “PE”.
The following tables shows the comparisons of different wire and cable color codes used in DC power circuits used by IEC and NEC.
- Related Post: Different Types of Electrical Wiring Systems and Methods of Electrical Wiring Installation
DC Wiring Color Codes in Other Countries
Australia & New Zealand
- RED or BROWN = +Ve (L+)
- BLACK or Light BLUE = -Ve (L-)
- GREEN or GREEN / YELLOW = Protective Earth “PE”.
India, Pakistan & South Africa*:
- RED = +Ve (L+)
- BLACK = -Ve (L-)
- GREEN / YELLOW = Protective Earth “PE”.
* South Africa now follows IEC rules.
Israel:
- BROWN = +Ve (L+)
- BLUE = -Ve (L-)
- GREEN / YELLOW = Protective Earth “PE”.
Countries like China, Russia, Saudi Arabia (KSA), and the UAE now follow the IEC cable color codes for DC circuits. However, do not rely solely on the cable insulation colors in these regions, as electricians may still use both old and new color codes for AC and DC systems. It’s important to test with a multimeter or voltage tester to confirm the phase, neutral, as well as positive and negative wires.
Final Note: You have now learned the wiring color codes for both DC and AC (single-phase and three-phase circuits) according to IEC, NEC, and other regional standards. If you encounter any unusual wiring color codes or want to add those from your country or region, feel free to share them in the comments below, and we’ll update this post accordingly. Thank you!
Resources
- How to Find the Proper Size of Wire & Cable Based on NEC and IEC?
- Single Phase Electrical Wiring Installation in Home – NEC & IEC
- Three Phase Electrical Wiring Installation in Home – NEC & IEC
- How to Wire 120V & 240V Main Panel? Breaker Box Installation
- How to Wire 240V, 208V & 120V, 1 & 3-Phase, High Leg Delta Main Panel?
- How to Wire 208V & 120V, 1-Phase & 3-Phase Main Panel? Distribution Board Wiring
- How to Wire 277V & 480V, 1-Phase & 3-Phase, Commercial Main Service Panel?
- How to Determine the Right Size Capacity of a Subpanel?
- How to Wire a Subpanel? Main Lug Installation for 120V/240V
- How to Determine the Number of Circuit Breakers in a Panel Board?
- How to Find the Number of Lights on a Single Circuit Breaker?
- How to Find the Number of Outlets on a Single Circuit Breaker?
- How to Size a Load Center, Panelboards and Distribution Board?
- How to Wire Single-Phase, 230V Consumer Unit with RCD? IEC, UK & EU
- How to Wire 230V Dual Split Load Consumer Unit? – RCD+MCB
- How to Wire 1-Phase Split Load Consumer Unit? – RCD+RCBO
- How to Wire Combo of 3 & 1-Φ, 400V/230V Distribution Board?
- How to Wire 1-Phase & 3-Phase Split Load Distribution Board?
- How to Wire a Three Phase, 400V Distribution Board? IEC & UK
- How to Wire a Garage Consumer Unit?
- How to Wire a Twin 3-Pin Socket Outlet? Wiring 2-Gang Socket
- How to Wire a UK 3-Pin Plug? Wiring a BS1363 Plug
- How to Wire a UK 3-Pin Socket Outlet? Wiring a BS1363 Socket
- Wiring of the Distribution Board with RCD (Residual Current Devices) – Single Phase Home Supply
- Wiring of the Distribution Board (Single Phase Supply From Utility Pole & Energy Meter to the Consumer Unit)
- Even More Electrical Wiring Installation Diagrams & Tutorials
Three phase power in Canada 600vac and 208vac is red black blue per Canadian Electrical Code. There are no brown orange yellow colour standards in Canada.
Pls upload the husky machine input and output electrical devices
This is interesting!
michaelkiflay22@gmail.com
There’s no such thing as 480v ??
Usa and canada are 600v. Black, red, blue.
Are you Sure there is no 480V in USA?
Some manufacturers use a step down transformer and use 460 volt fan motors and step down again to 24v for controls
the US primary 3 phase use is 480vac
Electrical
Canada also uses 347/600V
Iamripandas@gmail.com
I have a copy of the Canadian Electrical Code (CE Code not CEC that stands for the California Electrical Code) from 1990 and it is Red Black Blue. So how old is your data if our code from 31 years ago doesn’t support this paper?
Exactly, It is RED, BLACK & BLUE for Canada.
https://www.electricaltechnology.org/wp-content/uploads/2020/07/Canada-Wiring-Color-Codes-1-3-Phase.png
I know I might seam nitpickey but I was confused enough with the change that I did not know about shifting the designation of the high leg bank in 2008 from a B to a C and it’s orange now so when I saw this diagram N E C change diagram I got more confused it looks like someone in the art dep. put colors in the wrong place. I think most electricians would pick up on it pretty quick but I’m an old retired maintenance man and have really never studied the code book. I am looking to add a used 3 phase motor and wanted the colors of the wires to be correct for someone in the future to be safe. I still don’t know if it maters where the high leg goes. I think I am typical of the person searching for info you might consider having the web sight reviewed or taken of line until you do for safety sake. Thank to you for listening.
This might help you find it quicker. I was looking at section on wiring color codes for high leg delta panel. It’s the panel box representation towards the end just before how to wire 120v 1phase circuit breaker. Thanks
In looking up info on color of 3 phase wiring I found conidiations in a diagram depicting how a 3 pole breaker would be wired in a panel box. Two mistakes l see are a green wire shown as neutral and white as ground. And the L1 as black L2 as blue and L3 as orange probably the art department got the breaker misaligned when positioning the breaker representation.
Good afternoon;
I find references to the NEC Electrical Wiring Color Codes in a variety of authoritative sources. Not the least of which is your very useful website at https://www.electricaltechnology.org/
But, I am unable to locate the standard in the NEC that describes this color coding scheme.
Can you help me with a citation of where in NFPA 70 (NEC) I would the description of the color coding information found on your website?
Hi Beecher,
The US National Electrical Code only mandates white (or grey) for the neutral power conductor and bare copper, green, or green with yellow stripe for the protective ground. The other colors are adopted as local practice and followed by the electricians. Thanks and regards
Hello
I am a Electrical teacher and licenced Electrician here In Canada for the past 28 years. First of all you have an amazing website thanks for all the information you provide.
On your website with the link I have given you Your say we use Brown, Orange, Yellow for 3 Phase 277V/480V
We actually don’t use it for that voltage.
We have 600V/347V we only use Brown, Orange, Yellow for this. When we see these colours we only think 600V / 347V it was a part of our Electrical code for quite some time.
277V / 480V is an American standard we have here in Canada at American and Japanese manufacturing plants like General motors, Ford, Honda.
600V / 347V is Canadian and uses the colours you have talked about in that phase orientation.
This in no way is a complaint I just thought you would like to know the correct values.
https://www.electricaltechnology.org/2020/07/electrical-wiring-color-codes-nec-iec.html
Three Phase 277V & 480 V AC:
The following i.e. 277V and 480V AC supplies are used for industrial and high power equipment such as motors and heaters in factories and production units.
BROWN = Phase 1 , Hot 1 or Line 1 “L1”
ORANGE = Phase 2 , Hot 2 or Line 2 “L2”
YELLOW = Phase 3 , Hot 3 or Line 3 “L3”
GRAY = Neutral “N”
GREEN, BARE or GREEN / YELLOW = Ground “PG”
This is from your webpage
Sincerely
Rob Pinches
Let me add the values in the description. Thanks for the info.
pl reply me how to connect 3phase wire in 30kva and 40 or more than that
The old colors for Germany were:
phases black, brown, black – neutral blue – earth yellow green.
The two black phases were difficult to tell apart.
The new system has brown, black, gray – neutral blue – earth yellow green
For one phase brown, old sometimes black – Neutral blue – earth yellow green