The Complete NEC Wire Color Code Reference Table
Before pulling any wire or terminating a lug, verify your system voltage and phase. The NEC distinguishes between single-phase residential, three-phase commercial, and DC systems. The table below outlines the mandatory insulation colors per NFPA 70 (National Electrical Code) Article 200 (Neutrals), Article 215.12 (Three-Phase Feeders), and Article 250.119 (Equipment Grounding).
| Function | AC 120/240V Single-Phase | AC 120/208V 3-Phase | AC 277/480V 3-Phase | DC Power (Ungrounded) |
|---|---|---|---|---|
| Line / Hot 1 | Black | Black | Brown | Red (or Black) |
| Line / Hot 2 | Red | Red | Orange | Black (or White w/ tape) |
| Line / Hot 3 | N/A | Blue | Yellow | N/A |
| Neutral (Grounded) | White (or Grey) | White | Grey | N/A (or White for 2-wire) |
| Ground / Earth | Bare, Green, or Green/Yellow | Bare, Green, or Green/Yellow | Bare, Green, or Green/Yellow | Green or Bare |
Regional Variants: NEC vs. IEC vs. Old UK
Assuming US NEC standards apply to your project is a fast track to a catastrophic fault if you are working on imported machinery, marine vessels, or international sites. The International Electrotechnical Commission (IEC) governs most of Europe and Asia, while the UK transitioned from its own legacy colors to harmonize with the IEC in 2004. Always check the manufacturer's nameplate and wiring diagram before servicing foreign equipment.
| Function | US / Canada (NEC / CEC) | Europe / Intl (IEC 60446) | UK (Pre-2004 Legacy) | UK (Post-2004 Harmonized) |
|---|---|---|---|---|
| Line 1 | Black | Brown | Red | Brown |
| Line 2 | Red | Black | Yellow | Black |
| Line 3 | Blue (208V) / Yellow (480V) | Grey | Blue | Grey |
| Neutral | White / Grey | Blue | Black | Blue |
| Ground | Green / Bare | Green/Yellow Stripe | Green/Yellow Stripe | Green/Yellow Stripe |
Note: For a deep dive into international standards, Electrical Technology's wiring color code guide provides exhaustive regional breakdowns including Australia and India.
Rows People Get Wrong and Faded Wire Protocols
Even seasoned journeyman electricians trip over specific NEC color code nuances, especially when transitioning between residential and commercial work. Here are the most common field errors and how to handle degraded insulation.
The 208V vs. 480V Three-Phase Trap
Historically, electricians used Black, Red, and Blue for all three-phase systems. Modern NEC (Article 215.12) strictly requires Brown, Orange, and Yellow for 277/480V feeders. This separation prevents a worker from accidentally pulling a 480V hot leg into a 120V receptacle circuit. If you open a 480V panel and see Black/Red/Blue, the panel was likely wired before the code update or by someone ignoring the standard. Treat every conductor as energized and verify with a meter.
The Switch Loop White Wire Exception
In older homes, you will frequently find a white wire used as a 'hot' leg traveling up to a single-pole switch. NEC 200.7(C)(2) permits this in older cable assemblies (like legacy 2-wire Romex), but strictly requires the white wire to be re-identified with black or red electrical tape at both the switch and the fixture. If you see an untaped white wire on a switch, assume it is hot, not neutral.
Never trust color alone in panels older than 15 years. UV exposure, ambient heat, and chemical off-gassing turn black THHN into a dusty grey, and white insulation yellows.
1. Use a Non-Contact Voltage Tester (NCVT) to confirm the presence of voltage.
2. Use a CAT III or CAT IV multimeter to measure the exact potential to ground (e.g., reading 120V, 277V, or 0V).
3. Once verified dead and locked out, re-identify the conductors with colored phase tape (e.g., 3M Super 33+) at both ends before re-energizing.
NEC Color Code for Wires FAQ
Can I use a green wire for anything other than an equipment ground?
No. Per NEC Article 250.119, green, green with yellow stripes, or bare copper is strictly reserved for the Equipment Grounding Conductor (EGC). Using green for a current-carrying hot or neutral conductor is a severe code violation that creates an immediate shock hazard, as any technician will assume that wire is safe to touch when the system is bonded. The only exception is in specific isolated, ungrounded IT systems in hospitals, which require specialized engineering and are outside standard DIY or residential scope.
What color is the neutral wire in a 277V/480V three-phase system?
The neutral for a 277/480V system must be Grey (NEC 200.6). This deliberate distinction from the standard White neutral (used in 120/208V and 120/240V systems) prevents a worker from accidentally tying a 277V lighting neutral to a 120V receptacle neutral on a shared neutral busbar, which would cause an immediate overvoltage failure and fire on the 120V side.
Does the NEC color code for wires apply to low-voltage thermostat or doorbell cables?
No. The NEC color codes detailed above apply to Class 1 power and lighting circuits (typically over 50V). Low-voltage systems like thermostats, doorbells, and alarms fall under Class 2 or Class 3 circuit rules (NEC Article 725). These cables (like 18/5 thermostat wire) use manufacturer-defined color codes (e.g., Red for Rc/Rh, White for W, Green for G, Yellow for Y). Similarly, Ethernet and data cables follow TIA/EIA-568 standards, not NEC power color codes.
What if my region uses IEC colors but I am wiring a US-manufactured appliance?
Always defer to the appliance manufacturer's wiring diagram and the local Authority Having Jurisdiction (AHJ). If you are hardwiring a US-made 3-phase motor in Europe, you must use IEC color codes (Brown/Black/Grey) on the supply side of the disconnect, but the internal motor leads may remain US-colored (Black/Red/Blue). Clearly label the disconnect and the motor terminal box with a warning placard indicating the internal wire colors do not match the local IEC supply standard. When in doubt, consult OSHA's electrical safety guidelines or your local electrical inspector for cross-border equipment compliance.






