In North America, the standard DC voltage color code is Red for positive (+) and Black for negative (-). In Europe and regions following IEC standards, the code is Brown for positive (+) and Blue for negative (-). While these are the baseline rules for hobbyist and industrial DC wiring, mixing regional standards, misidentifying grounded conductors, or relying on faded insulation can lead to catastrophic equipment failure or DC arc flashes.
The Master DC Voltage Color Code Table
The table below maps the exact conductor colors required for DC circuits across the three major global standards. Use this as your primary bench reference before cutting any wire.
| Function / Conductor Type | NEC / NFPA 79 (US & Canada) | IEC 60204-1 / 60446 (EU, UK, AU) | Old UK Standard (Pre-2004) |
|---|---|---|---|
| Positive (Ungrounded) | Red | Brown | Red |
| Negative (Ungrounded) | Black | Blue | Black |
| Grounded Conductor (Current-Carrying) | White or Grey | Blue (with specific marking) | Black |
| Protective Earth (Safety Ground) | Green, Green/Yellow, or Bare | Green/Yellow | Green |
| Positive (2-wire grounded system) | Red | Brown | Red |
| Negative (2-wire grounded system) | White or Grey | Blue | Black |
Rows People Get Wrong (And How to Avoid Miswiring)
Even experienced makers trip over specific edge cases in DC wiring. Here are the most common misinterpretations of the color code table and how to fix them.
- The "Grounded Negative" Trap: In a standard 12V automotive or solar system, the negative terminal is bonded to the chassis or earth ground. Many builders incorrectly use Black for this grounded negative. According to strict NEC Article 200.6, if the negative conductor is grounded and carries current, it must be White or Grey. Black is only correct if the system is ungrounded (floating) or if you are following NFPA 79 industrial control panel rules where Black is universally accepted as the DC return. For solar and marine, stick to Red/Black but understand the technical code distinction.
- Black Wire AC vs. DC Confusion: In US AC wiring, Black is a hot phase (120V). In US DC wiring, Black is the negative return (0V relative to positive). If you are wiring a hybrid inverter/charger panel that handles both AC and DC, running Black wires for both AC hot and DC negative in the same conduit is a massive hazard. Use Red/Black for DC, and Black/White/Red for AC, keeping them in physically separated wire ducts.
- Protective Earth vs. Grounded Conductor: Green/Yellow is never a current-carrying negative return. It is strictly for fault-current clearing (safety ground). If you use Green/Yellow as your DC negative to save money on wire spools, a single ground fault will energize your entire chassis to full battery voltage.
Regional Standards: Which Code Applies to Your Bench?
Your physical location and the destination of your build dictate which standard you must follow. Mixing standards in a single enclosure is a primary cause of failed electrical inspections and fried imported machinery.
North America (NEC, NFPA 79, UL 508A)
If you are building in the US or Canada, Red and Black are your defaults for ungrounded DC circuits. When sourcing wire, look for THHN/THWN-2 for conduit runs, or stranded marine wire (UL 1426) for battery interconnects. The Alpha Wire color code guide confirms that North American hook-up wire universally follows this Red/Black paradigm for DC.
Europe, UK, and Australia (IEC 60204-1, IEC 60446)
If you are building a control panel or solar array in the EU, UK, or AU, you must use Brown for positive and Blue for negative. The UK transitioned from its old color code (Red/Black) to the IEC harmonized code (Brown/Blue) in 2004. If you are retrofitting an old UK machine, you will encounter Red/Black DC wiring that looks exactly like modern US wiring, but the AC phases inside the same panel will be the old Yellow/Blue/Red instead of the modern Brown/Black/Grey. Always verify with a meter.
Decision Path: Picking the Right Wire for Your DC Build
Stop guessing at the hardware store. Use this decision tree to select the exact wire specification and part type for your specific DC application.
| Application Scenario | Standard Required | Wire Specification | Concrete Part Pick (Buy This) |
|---|---|---|---|
| 12V/24V/48V Solar or Battery Bank (US) | NEC / ABYC | Stranded, Tinned Copper, 105°C | Windy Nation 10 AWG (or 4 AWG) Tinned Marine Wire in Red and Black. |
| 24V Industrial Control Panel (EU/UK) | IEC 60204-1 | Flexible Hook-up, H07V-K, 70°C | Lapp ÖLFLEX H07V-K in Brown (+) and Blue (-). |
| 5V/3.3V PCB, Arduino, or Breadboard | General Maker | 28 AWG to 22 AWG Solid Core PVC | Adafruit Silicone Ribbon Cable (Red for VCC, Black for GND). |
| High-Current EV or Golf Cart Motor (US) | NEC / SAE | 2 AWG to 4/0 AWG, EPR Insulation | TEMCo 2 AWG Welding Cable (Use Red/Black heat shrink over bare copper). |
Safe Interpretation When Markings Are Faded or Missing
When troubleshooting imported machinery, old telecom racks, or sun-baked solar arrays, wire insulation fades, cracks, or is painted over. Never trust color alone on legacy equipment. Follow this exact verification sequence:
- De-energize and Lock Out: Turn off the main DC disconnect and battery breaker. Tag it out.
- Continuity Test to Chassis: Set your multimeter to continuity (the diode/beep setting). Place the black probe on a known, unpainted metal chassis ground. Touch the red probe to the suspect wire's exposed copper. If it beeps (reads < 1 ohm), that wire is your Protective Earth (Green/Yellow equivalent) or a grounded negative.
- Voltage Verification (Live Test): If the circuit must be live to identify the positive feed, set your meter to DC Voltage. Place the black probe on a known earth ground. Touch the red probe to the suspect wire. A positive reading (e.g., +24.2V) identifies the positive conductor. A negative reading (e.g., -24.2V) means your probes are reversed, or you are measuring a negative leg in a split-bus system.
- Beware of Zip-Cord Cues: On cheap, unjacketed parallel zip-cord, one side has a ribbed texture and the other is smooth. In AC lamp cords, ribbed is neutral. In DC hobby wiring, manufacturers arbitrarily assign ribbed to negative and smooth to positive, but this is not a standardized rule. Always test zip-cord with a meter before connecting it to a sensitive ESC or charge controller.
By strictly adhering to the regional color codes and verifying legacy wiring with a meter, you eliminate the guesswork that leads to short circuits and fried components. Pick your standard, buy the correct wire type from the decision table, and always verify before you energize.






