Electrical wire colors are a standardized visual coding system applied to conductor insulation to instantly identify a wire's function, voltage potential, and phase within a circuit. Electrically, the color of the PVC or nylon insulation changes absolutely nothing about the copper conductor's ability to carry current; a black 12 AWG wire and a white 12 AWG wire have identical conductivity and ampacity. What the color changes in a real installation is human safety, troubleshooting speed, and strict adherence to the National Electrical Code (NEC). When you open a panel or a junction box, the color scheme is the primary visual barrier between a routine breaker swap and a fatal shock or a melted neutral.

Standard US AC Wire Color Codes (NEC Table)

The NEC dictates specific colors for grounded (neutral) and grounding conductors, while allowing some flexibility for ungrounded (hot) conductors depending on the voltage class. Below is the definitive color chart for standard US AC power systems. Note that while the NEC mandates the neutral and ground colors strictly, the hot phase colors are enforced by convention and specific voltage-class rules (like NEC 210.4 for multi-wire circuits).

System Voltage Phase A (Hot) Phase B (Hot) Phase C (Hot) Neutral (Grounded) Ground (Equipment)
120V / 240V Single-Phase Black Red N/A White or Gray Green, Green/Yellow, or Bare
208V / 240V Three-Phase Black Red Blue White or Gray Green, Green/Yellow, or Bare
277V / 480V Three-Phase Brown Orange Yellow Gray Green, Green/Yellow, or Bare
Safety Warning: Never assume a wire is dead based on its color. In older homes, previous DIYers may have used white wires as hot conductors without re-identifying them. Always verify dead with a tested non-contact voltage tester (NCVT) or a digital multimeter before touching any conductor.

Where You Meet This in Practice

In residential and light commercial work, you will encounter wire colors in two primary formats: pre-packaged NM-B cable (commonly known by the brand name Romex) and individual THHN/THWN-2 conductors pulled through conduit.

NM-B Cable: The colors are locked in at the factory. A standard 14/2 or 12/2 cable contains a black (hot), white (neutral), and bare copper (ground) wire. If you need a 3-way switch loop or a 240V baseboard heater circuit, you step up to 14/3 or 12/3, which adds a red wire. You cannot change these colors; you must use them as intended or legally re-identify them with permanent marker or colored electrical tape at every termination point.

THHN in Conduit: When you pull individual wires through EMT or PVC conduit, you are the one choosing the spools. This is where strict color discipline matters. If you are pulling a 240V circuit for a welder, you must pull two hots (Black and Red) and a ground (Green). You do not pull a neutral unless the equipment specifically requires a 120V/240V split (like a dryer or range).

You also meet color coding in low-voltage and DC systems, though the NEC is less strict here. In a 12V LiFePO4 solar bank or an ESP32 breadboard setup, Red is universally VCC (positive) and Black is GND (negative). Mixing up AC and DC color conventions in a hybrid off-grid inverter setup is a common way to fry control boards.

Worked Example: The 20A Multi-Wire Branch Circuit (MWBC)

To understand why wire colors dictate physical safety, let's look at a 20A Multi-Wire Branch Circuit (MWBC) using 12 AWG THHN in 1/2-inch EMT conduit. An MWBC shares a single neutral wire between two hot legs on opposite phases of a 240V split-phase panel.

The Setup: 12 AWG THHN. Black wire on a 20A breaker (Leg A). Red wire on a 20A breaker (Leg B). White wire is the shared neutral. Green wire is the ground.

The Math: Because Leg A and Leg B are 180 degrees out of phase, the current on the shared neutral is the difference between the two legs, not the sum. If your kitchen mixer draws 16A on the Black wire (Leg A), and your toaster draws 12A on the Red wire (Leg B), the neutral White wire only carries the unbalanced load: 16A - 12A = 4 Amps. The 12 AWG white wire is perfectly safe, as its ampacity is 20A.

The Failure Mode: What if an apprentice ignores the color code and lands both the Black and Red wires on breakers connected to the same phase (Leg A)? The currents no longer cancel out; they add together. The neutral wire now carries 16A + 12A = 28 Amps. Because the neutral wire does not have its own breaker, it will silently overheat, melt its insulation inside the wall, and start a fire. This is exactly why NEC 210.4 requires the two hot wires of an MWBC to be on opposite phases, and why keeping your Black and Red color coding strict is a life-safety issue.

Decision Tree: Picking the Right Color for Your Next Pull

When standing in the electrical aisle looking at spools of THHN, use this decision path to select the correct wire colors for your specific application.

Application Scenario Condition / Constraint Concrete Wire Color Pick
Standard 120V Receptacle / Lighting Single pole breaker, standard branch circuit Black (Hot), White (Neutral), Green (Ground)
240V Baseboard Heater / EV Charger Double pole breaker, no 120V electronics needed Black (Hot A), Red (Hot B), Green (Ground) — No White
240V Dryer / Range / Subpanel Feed Double pole breaker, requires 120V for controls Black (Hot A), Red (Hot B), White (Neutral), Green (Ground)
3-Way or 4-Way Switch Loop Running power to a light via two switch locations Black (Common), Red & White (Travelers — re-identify White with black tape)
277V Commercial Lighting Single phase from a 480V wye transformer Brown (Hot), Gray (Neutral), Green (Ground)
The Default Concrete Pick: If you are wiring a standard residential addition and need to buy bulk wire for conduit pulls, buy Southwire SIMpull 12 AWG THHN in four separate spools: Black, Red, White, and Green. This covers 95% of residential 120V/240V branch circuit needs and prevents you from making illegal color substitutions.

Common Confusions and Dangerous Assumptions

What do people commonly confuse wire color with?

The most dangerous confusion is assuming that insulation color dictates wire gauge or ampacity. A white 14 AWG wire and a white 10 AWG wire look identical except for their physical thickness. If you swap a 20A breaker for a 15A breaker but leave the 12 AWG wire, you are fine. But if you use 14 AWG wire on a 20A breaker, the wire will overheat regardless of its color. Always check the wire gauge printed on the insulation jacket, not just the color.

Is a white wire always a neutral?

No. In a switch loop (power going to the light fixture first, then down to the switch), the white wire in the 2-conductor cable is used to carry hot power down to the switch. According to OSHA and NEC guidelines, this white wire must be permanently re-identified at both ends with black or red electrical tape, or permanent marker, to indicate it is an ungrounded (hot) conductor. If you see a white wire connected to a brass screw on a single-pole switch, it is hot, not neutral.

Can I use green tape to turn a black wire into a ground?

Absolutely not. NEC 250.118 strictly governs equipment grounding conductors. You cannot take a current-carrying hot wire and wrap it in green tape to use it as a safety ground. Ground wires must be bare copper, or have continuous green (or green with yellow stripe) insulation along their entire length. The only tape re-identification allowed by code is taking a white/gray neutral wire and marking it as a hot wire (using black, red, or blue tape) when it is being used as an ungrounded conductor in a switch loop or conduit pull.

What about older homes with cloth-covered or knob-and-tube wiring?

In pre-1950s installations, color codes were not standardized to modern NEC rules. You may encounter white wires that are hot, black wires that are neutral, or wires where the original cloth insulation has degraded to a uniform grayish-brown. In these environments, color is entirely untrustworthy. You must map the circuit with a multimeter, treating every single conductor as live until proven otherwise.

Ultimately, wire color is a communication language between the installer, the inspector, and the next electrician who opens the panel ten years from now. Stick strictly to the NEC palette, re-identify whites used as hots, and never trust a color until you have tested it with a meter.