The standard US (NEC) color code for electrical wiring in a 120V/240V split-phase residential system is Black (Hot 1), Red (Hot 2), White (Neutral), and Green or Bare Copper (Ground). For commercial 277V/480V 3-phase systems, the hots are Brown, Orange, and Yellow, the neutral is Gray, and the ground remains Green. However, assuming these colors are universally applied is a fast track to a shock hazard or a failed inspection. Wire colors change drastically across borders, voltage classes, and installation eras.
The Master Color Code for Electrical Wiring Table
Use this reference table to identify conductor functions across the most common global standards. This chart covers standard AC power wiring; DC and control wiring follow different conventions.
| Function | US / Canada (NEC) 120/240V | US / Canada (NEC) 277/480V | Europe (IEC 60446) | UK (Post-2004 BS 7671) | UK (Pre-2004 Legacy) |
|---|---|---|---|---|---|
| Line 1 (Hot/Phase) | Black | Brown | Brown | Brown | Red |
| Line 2 (Hot/Phase) | Red | Orange | Black | Black | Yellow |
| Line 3 (Hot/Phase) | Blue | Yellow | Gray | Gray | Blue |
| Neutral | White or Gray | Gray | Blue | Blue | Black |
| Ground / Earth | Green, Green/Yellow, or Bare | Green, Green/Yellow, or Bare | Green/Yellow | Green/Yellow | Green (or Bare) |
Rows People Get Wrong (And How to Fix Them)
Even experienced DIYers and junior apprentices misinterpret specific rows in the color code for electrical wiring. Here are the most common field errors and how to resolve them.
1. The 'White Wire as Hot' Trap
Under NEC 200.7(C)(1), a white wire can be used as an ungrounded (hot) conductor in a cable assembly (like 12/2 NM-B) if it is permanently re-identified at both ends with black tape, paint, or heat shrink. The mistake: People see a white wire in a switch loop and assume it is neutral, leading to a dead short when they wire it to the ground bus. The fix: Always test white wires in switch boxes with a non-contact voltage tester before touching them. If it is hot, wrap it with black electrical tape immediately to correct the record.
2. The High-Leg Delta Orange
In older commercial buildings with a 240V 3-phase High-Leg Delta service, the 'B' phase (Line 2) sits at 208V to ground instead of the standard 120V. NEC 230.56 and 215.8 mandate that this high leg must be Orange. If you land a 120V lighting circuit on the orange wire, you will instantly blow the ballast or start a fire. If you see an orange wire in a 3-phase panel, treat it as 208V-to-ground until proven otherwise with a multimeter.
3. UK Pre-2004 Neutral vs. IEC Line 2
If you are working in a UK home built before 2004, the neutral wire is Black. In modern IEC or post-2004 UK wiring, Black is Line 2 (Hot). Mixing these up during a renovation means connecting a live 230V phase directly to your neutral bus bar. Always verify the installation year of the property before trusting the colors.
Regional Standards: Which Code Applies to You?
Wire color codes are legally enforced through regional electrical standards. Applying the wrong regional standard is a primary cause of international equipment failure and residential shock hazards.
- North America (US & Canada): Governed by the NEC (NFPA 70) and CEC. The defining feature is the use of White for neutral and Green/Bare for ground. Ungrounded conductors are typically Black, Red, and Blue. For detailed safety enforcement, refer to OSHA Electrical Safety Standards which heavily reference NEC compliance for workplace safety.
- Europe & International (IEC): Governed by IEC 60446. The defining feature is Brown for Line, Blue for Neutral, and Green/Yellow striped for Earth. This standard is used across the EU, Australia, New Zealand, and most of Asia.
- United Kingdom: The UK harmonized with IEC colors in 2004 (BS 7671). Before 2004, the UK used Red (Line), Black (Neutral), and Green (Earth). If you open a UK consumer unit and see a mix of Red and Brown wires, you are looking at a multi-generational installation that requires extreme caution.
Faded, Missing, or Painted Wires: Safe Interpretation Protocol
In homes built before 1960, or in industrial panels subjected to decades of heat and chemical exposure, wire insulation fades, cracks, or gets painted over by sloppy contractors. When the color code for electrical wiring is illegible, you must abandon visual identification and rely on electrical testing.
The 3-Step Verification Protocol:
- De-energize and Isolate: Turn off the main breaker for the panel or circuit. Use a lockout/tagout (LOTO) device if you are in a commercial setting.
- Continuity Test (Dead Circuit): Set your digital multimeter (e.g., Fluke 117) to continuity/ohms. Test between the mystery wire and the known ground bus. If it reads near 0 ohms, it is your ground. Test between the mystery wire and the neutral bus. If it reads near 0 ohms (and the circuit is disconnected from the load), it is your neutral.
- Voltage Test (Live Circuit): If continuity testing is impossible, restore power and use an insulated probe. Measure Line-to-Neutral (should read ~120V or ~230V depending on region), Line-to-Ground (should match Line-to-Neutral), and Neutral-to-Ground (should read < 2V). If Neutral-to-Ground reads > 5V, you have an open neutral or a shared-neutral fault upstream.
Decision Tree: Picking the Right Wire Color for Your Circuit
When pulling new wire for a project, use this decision matrix to select the exact cable type and color configuration you need to buy. This eliminates guesswork and ensures code compliance.
| Your Scenario | Required Colors / Configuration | Concrete Pick (What to Buy) |
|---|---|---|
| Standard US 120V / 20A Receptacle Branch Circuit | Black (Hot), White (Neutral), Bare (Ground) | Southwire SIMpull 12/2 NM-B (Romex) with bare ground |
| US 240V / 30A Dryer or EV Charger (No Neutral needed) | Black (Hot 1), Red (Hot 2), Bare (Ground) | Southwire 10/2 NM-B or 10 AWG THHN in conduit (Black, Red, Green) |
| US 3-Way Switch Travelers | Red and Black (Travelers), White (Neutral), Bare (Ground) | 14/3 or 12/3 NM-B (Includes Black, Red, White, Bare) |
| European / IEC 230V Single-Phase Ring Main | Brown (Line), Blue (Neutral), Green/Yellow (Earth) | Prysmian 2.5mm² Twin & Earth Cable (Brown/Blue/Green-Yellow) |
| US Commercial 277V Lighting Circuit | Brown, Orange, or Yellow (Hot), Gray (Neutral), Green (Ground) | 12 AWG THHN/THWN-2 (Buy individual spools of Brown, Gray, Green) |
Default Recommendation: If you are wiring a standard US residential 15A or 20A branch circuit and are unsure of the exact load, default to 12/2 NM-B cable. The 12 AWG copper handles up to 20A, giving you headroom for future upgrades, and the Black/White/Bare color code is universally recognized by any inspector or future homeowner. Always terminate your grounds to the equipment grounding busbar and your neutrals to the isolated neutral busbar in any subpanel.






