A wiring color code diagram is your primary defense against short circuits, equipment damage, and lethal shocks. However, assuming a universal standard is a dangerous mistake. The colors change drastically depending on whether you are working under US NEC, European IEC, or legacy UK BS 7671 regulations, and whether the system is single-phase, split-phase, or three-phase. Below is the definitive reference for identifying conductors, followed by the specific edge cases and faded-wire protocols that trip up even experienced DIYers.
The Master Wiring Color Code Diagram Reference Table
The following tables outline the mandatory conductor identification colors for AC mains and DC low-voltage systems. Always verify which regional standard applies to your building's original construction date and local AHJ (Authority Having Jurisdiction).
| Function | US (NEC 120/208V & 120/240V) | US (NEC 277/480V 3-Phase) | EU & UK (IEC 60446 / Harmonized) | Old UK (Pre-2004 BS 7671) |
|---|---|---|---|---|
| Line 1 (Hot/Phase) | Black | Brown | Brown | Red |
| Line 2 (Hot/Phase) | Red (or Blue for 240V split) | Orange (or Violet) | Black | Yellow |
| Line 3 (Hot/Phase) | Blue | Yellow | Grey | Blue |
| Neutral | White or Grey | White or Grey | Blue | Black |
| Earth / Ground | Bare, Green, or Green/Yellow | Bare, Green, or Green/Yellow | Green/Yellow | Green |
Note on US 240V Delta High-Leg Systems: If you are working on a 240V 3-phase delta system with a center-tapped neutral, the 'wild leg' or 'high leg' (which measures 208V to neutral instead of 120V) must be Orange per NEC 110.15.
| Function | US / Standard DC | IEC / EU Standard DC |
|---|---|---|
| Positive (+) | Red | Brown |
| Negative (-) | Black | Grey or Blue |
| Ground/Earth | Bare or Green | Green/Yellow |
Rows People Get Wrong (And How to Avoid Dangerous Mistakes)
Reading a wiring color code diagram in a textbook is easy; interpreting a messy junction box is where errors happen. Here are the most common misinterpretations in the field:
- 3-Way Switch Travelers: In US residential wiring, a 3-way switch circuit uses two 'traveler' wires between the switches. While many diagrams show Red and Black as travelers, the NEC does not strictly mandate traveler colors. The rule of thumb: the wire connected to the dark-colored 'Common' screw is the line or load, while the two brass-colored screws hold the travelers (often Red and Black, but sometimes White and Black). Never assume a Red wire is always a traveler; trace it.
- Old UK Earth vs. New UK Earth: If you are working in a UK home built before April 2004, the earth wire will be solid Green. Post-2004 harmonized wiring uses Green/Yellow. If you see solid Green, you are dealing with legacy wiring, and the Neutral will likely be Black (not Blue). Treat Black as a live conductor in these older installations, not a neutral.
- 240V Split-Phase Appliances: For US dryers and ranges, the standard 4-wire diagram uses Black (L1), Red (L2), White (Neutral), and Bare/Green (Ground). Older 3-wire setups combined Neutral and Ground into a single White or Bare wire. Upgrading a 3-wire receptacle to a 4-wire receptacle requires removing the bonding strap on the appliance terminal block and installing a separate equipment grounding conductor.
- The 'White' Wire in a Switch Loop: In older US switch loops, a 2-wire NM-B (Romex) cable runs from the light fixture to the switch. The White wire in this cable is used to carry the 'hot' line down to the switch. Per NEC 200.7(C)(1), this white wire must be re-identified with black tape or marker at both ends to indicate it is a hot conductor, not a neutral.
Safe Interpretation When Markings Are Faded, Missing, or Non-Standard
Never trust the jacket color of a wire in an older home or a high-heat environment without verifying it. White THHN wire exposed to 130°F+ attic temperatures for a decade will oxidize and fade to a dirty brown or grey, making it visually indistinguishable from a neutral or a ground. Similarly, rogue DIYers often use whatever wire was left over in their toolbox, resulting in a 'hot' wire with yellow insulation.
The Definitive Testing Protocol for Unknown Wires:
- De-energize and Expose: Turn off the breaker, verify dead with an NCVT, and separate the wires in the box so they aren't touching.
- Energize and Measure Line-to-Neutral: Turn the breaker back on. Set your multimeter to AC Voltage (V~). Measure between the suspected Hot and suspected Neutral. You should read nominal voltage (114V–126V in the US, 220V–240V in the EU/UK).
- Measure Line-to-Ground: Measure between the suspected Hot and the bare/green ground. This should also read nominal voltage.
- Measure Neutral-to-Ground (The Tie-Breaker): Measure between the suspected Neutral and Ground. This should read less than 1.0V (typically 0.2V to 0.5V due to normal voltage drop on the neutral). If you read >2V, you likely have a shared neutral, a bootleg ground, or a loose neutral connection upstream. If you read full line voltage, your 'neutral' is actually an open or a miswired hot leg.
Frequently Asked Questions About Wiring Color Code Diagrams
What does a white wire with black tape mean in a wiring color code diagram?
In US NEC-compliant wiring, a white wire wrapped in black (or red) electrical tape at the termination point indicates that the wire has been 're-identified' as a hot (line) conductor. This is standard practice in switch loops, or when a larger cable (like 10/3 NM-B) is used for a 240V circuit where the white wire serves as the second hot leg instead of a neutral. Never treat a taped white wire as a neutral; treat it as an energized hot wire.
How do I read a 240V split-phase wiring color code diagram for a dryer or range?
Modern US 240V appliances require a 4-wire connection. The diagram will show:
• Black: Line 1 (120V to neutral, 240V to Line 2)
• Red: Line 2 (120V to neutral, 240V to Line 1)
• White: Neutral (Carries the 120V return current for the appliance's control board, timers, and interior lights)
• Bare or Green: Equipment Grounding Conductor (Safety path for fault currents; carries zero current under normal operation).
If your home has an older 3-wire receptacle (Black, Red, White), you must upgrade the receptacle to a 4-wire NEMA 14-30R or 14-50R and run a new ground wire back to the panel, as per current electrical safety guidelines and NEC mandates.
Can I use green wire for anything other than ground in home wiring?
No. Under NEC 250.119 (and equivalent IEC standards), green, green with yellow stripes, and bare copper are strictly reserved for the Equipment Grounding Conductor (EGC). Using a green wire for a hot or neutral conductor is a severe code violation that creates an immediate electrocution hazard for anyone working on the circuit in the future. If you only have green wire available for a low-voltage DC project, it is acceptable, but for any AC mains voltage, green means ground, period.






