COLOR CODES

Components and wires are coded are with colors to identify their value and function.

Resistor Color Codes

Components and wires are coded are with colors to identify their value and function.

The colors brown, red, green, blue, and violet are used as tolerance codes on 5-band resistors only. All 5-band resistors use a colored tolerance band. The blank (20%) "band" is only used with the "4-band" code (3 colored bands + a blank "band").



Example #1

A resistor colored Yellow-Violet-Orange-Gold would be 47 kΩ with a tolerance of +/- 5%.

Example #2

A resistor colored Green-Red-Gold-Silver would be 5.2 Ω with a tolerance of +/- 10%.

Example #3

A resistor colored White-Violet-Black would be 97 Ω with a tolerance of +/- 20%. When you see only three color bands on a resistor, you know that it is actually a 4-band code with a blank (20%) tolerance band.

Example #4

A resistor colored Orange-Orange-Black-Brown-Violet would be 3.3 kΩ with a tolerance of +/- 0.1%.

Example #5

A resistor colored Brown-Green-Grey-Silver-Red would be 1.58 Ω with a tolerance of +/- 2%.

Example #6

A resistor colored Blue-Brown-Green-Silver-Blue would be 6.15 Ω with a tolerance of +/- 0.25%.

Wiring Color Codes

Wiring for AC and DC power distribution branch circuits are color coded for identification of individual wires. In some jurisdictions all wire colors are specified in legal documents. In other jurisdictions, only a few conductor colors are so codified. In that case, local custom dictates the “optional” wire colors.

IEC, AC: Most of Europe abides by IEC (International Electrotechnical Commission) wiring color codes for AC branch circuits. These are listed in Table below. The older color codes in the table reflect the previous style which did not account for proper phase rotation. The protective ground wire (listed as green-yellow) is green with yellow stripe.

IEC (most of Europe) AC power circuit wiring color codes.

FunctionlabelColor, IECColor, old IEC
Protective earthPEgreen-yellowgreen-yellow
NeutralNblueblue
Line, single phaseLbrownbrown or black
Line, 3-phaseL1brownbrown or black
Line, 3-phaseL2blackbrown or black
Line, 3-phaseL3greybrown or black


UK, AC: The United Kingdom now follows the IEC AC wiring color codes. Table below lists these along with the obsolete domestic color codes. For adding new colored wiring to existing old colored wiring see Cook. [PCk]

UK AC power circuit wiring color codes.

FunctionlabelColor, IECOld UK color
Protective earthPEgreen-yellowgreen-yellow
NeutralNblueblack
Line, single phaseLbrownred
Line, 3-phaseL1brownred
Line, 3-phaseL2blackyellow
Line, 3-phaseL3greyblue


US, AC:The US National Electrical Code only mandates white (or grey) for the neutral power conductor and bare copper, green, or green with yellow stripe for the protective ground. In principle any other colors except these may be used for the power conductors. The colors adopted as local practice are shown in Table below. Black, red, and blue are used for 208 VAC three-phase; brown, orange and yellow are used for 480 VAC. Conductors larger than #6 AWG are only available in black and are color taped at the ends.

US AC power circuit wiring color codes.

FunctionlabelColor, commonColor, alternative
Protective groundPGbare, green, or green-yellow green
NeutralNwhite grey
Line, single phaseLblack or red (2nd hot)
Line, 3-phaseL1blackbrown
Line, 3-phaseL2redorange
Line, 3-phaseL3blueyellow

Canada: Canadian wiring is governed by the CEC (Canadian Electric Code). See Table below. The protective ground is green or green with yellow stripe. The neutral is white, the hot (live or active) single phase wires are black , and red in the case of a second active. Three-phase lines are red, black, and blue.

Canada AC power circuit wiring color codes.

FunctionlabelColor, common
Protective groundPGgreen or green-yellow
NeutralNwhite
Line, single phaseLblack or red (2nd hot)
Line, 3-phaseL1red
Line, 3-phaseL2black
Line, 3-phaseL3blue

IEC, DC: DC power installations, for example, solar power and computer data centers, use color coding which follows the AC standards. The IEC color standard for DC power cables is listed in Table below, adapted from Table 2, Cook. [PCk]

IEC DC power circuit wiring color codes.

FunctionlabelColor
Protective earthPEgreen-yellow
2-wire unearthed DC Power System

PositiveL+brown
NegativeL-grey
2-wire earthed DC Power System

Positive (of a negative earthed) circuitL+brown
Negative (of a negative earthed) circuitMblue
Positive (of a positive earthed) circuitMblue
Negative (of a positive earthed) circuitL-grey
3-wire earthed DC Power System

PositiveL+brown
Mid-wireMblue
NegativeL-grey

US DC power: The US National Electrical Code (for both AC and DC) mandates that the grounded neutral conductor of a power system be white or grey. The protective ground must be bare, green or green-yellow striped. Hot (active) wires may be any other colors except these. However, common practice (per local electrical inspectors) is for the first hot (live or active) wire to be black and the second hot to be red. The recommendations in Table below are by Wiles. [JWi] He makes no recommendation for ungrounded power system colors. Usage of the ungrounded system is discouraged for safety. However, red (+) and black (-) follows the coloring of the grounded systems in the table.

US recommended DC power circuit wiring color codes.

FunctionlabelColor
Protective groundPGbare, green, or green-yellow
2-wire ungrounded DC Power System

PositiveL+no recommendation (red)
NegativeL-no recommendation (black)
2-wire grounded DC Power System

Positive (of a negative grounded) circuitL+red
Negative (of a negative grounded) circuitNwhite
Positive (of a positive grounded) circuitNwhite
Negative (of a positive grounded) circuitL-black
3-wire grounded DC Power System

PositiveL+red
Mid-wire (center tap)Nwhite
NegativeL-black

Bibliography


  1. [PCk]Paul Cook, “Harmonised colours and alphanumeric marking”, IEE Wiring Matters, Spring 2004 at http://www.iee.org/Publish/WireRegs/IEE_Harmonized_colours.pdf
  2. [JWi]John Wiles, “Photovoltaic Power Systems and the National Electrical Code: Suggested Practices”, Southwest Technology Development Institute, New Mexico State University, March 2001 at http://www.re.sandia.gov/en/ti/tu/Copy%20of%20NEC2000.pdf