Here's a few things that may help. It may also help to get a Yamaha key switch.


Marine Wiring Color Codes
Mercury Outboard Wiring
The following color coded wiring is often seen in outboard motors with the Mercury or Mariner brand. This information was provided by Mercury Marine.
Table 3. Mercury/Mariner Standard Outboard Wiring Color Code, after a similar table from Mercury Marine.
Color
Function
Black
All Ground
Brown
Reference Electrode MerCathode System
Orange
Anode Electrode MerCathode System
Lt. Blue/White Stripe
Trim UP Switch
Lt. Green/White Stripe
Trim DOWN Switch
Brown/White Stripe
Trim Sender to Trim Gauge
Purple/White Stripe
Trim "Trailer" Switch
Gray
Tachometer Signal
Black/Yellow Stripe
Shorting or Stop Circuit
Pink
Fuel Sender to Gauge
Red
Unprotected Wire from Battery
Red/Purple Stripe
Protected (Fused) Wire from Battery
Red/Purple Stripe
Protected (12 Volt +) to Trim Panel Control
Purple
Ignition (Switch) to 12 Volt Positive
Tan
Temperature Switch to Warning Horn
Tan
Temperature Sender to Temperature Gauge
Tan/Blue Stripe
Temperature Switch to Warning Horn
Yellow
Starter Solenoid to Starter Motor
Yellow
Stator to Regulator (Charging Circuit)
Yellow/Red Stripe
Start Switch to Start Solenoid to Neutral Start Switch
Yellow/Black Stripe
Choke (Enrichener System)
Green with Color Stripe
Switch Box to Coil - Striped and Numbered
White/Black Stripe
Bias Circuit (Switch Boxes)
Yamaha Outboard Wiring
This information was provided by secondary sources but is believed to be accurate.
BLACK = Ground
RED = Battery Positive; SW3 Oil warning red light V4
YELLOW = Ignition ON 12-volts; Four-stroke lighting coil
BLUE = Instrument lights; choke; choke circuit;
Ground potential oil transfer; High speed Charge Coil
GREEN = Tachometer signal; lighting coil lead; knock sensor
ORANGE = Trim position sensor
PINK = Oil and overheat signal ground
WHITE = Ignition stop circuit; SW1 oil transfer off position V4
BROWN = Starter circuit; Low speed charge coil; Positive "+" potential
to oil transfer pump; SW2 transfer on position V4
GRAY = Warning circuit lead; Over-rev. control; Four-stroke tachometer
SKY BLUE = Trim up
LIGHT GREEN = Trim down
YELLOW/Red = Diagnostic lead from ECU
PURPLE = ECU groud to enrichment solenoid V76
BLACK/Yellow = Thermo sensor
BLACK/Red = Remote oil tank ground return, PBS to tachometer,
Low speed charge coil
BLACK/White = Ignition coil primary lead
GREEN/Blue = Crank position sensor
GREEN/Red = Red oil warning light ground through SW3 in main tank oil
sensor to tachometer
GREEN/White = Crank position sender; Lighting coil lead to rectifier
BLUE/Green = Main tank oil level sensor SW2 oil transfer circuit
BLUE/Red = Main tank oil level sensor SW3. No oil warning circuit
BLUE/White = Main tank oil level sensor SW1; Oil transfer OFF circuit
BLUE/Yellow = Shift cut switch
PURPLE/Red = OX66 #1 injector
PURPLE/Black = OX66 #2 injector
PURPLE/Yellow = OX66 #3 injector
PURPLE/Green = OX66 #4 injector
PURPLE/Blue = OX66 #5 injector
PURPLE/White = OX66 #6 injector
RED/Yellow = Key on power through fuel relay pump; power to ECU;
Fuel pump and fuel injectors
WHITE/Red = #1 pulser V6
WHITE/Black = #2 pulser V6
WHITE/Yellow = #3 pulser V6
WHITE/Green = #4 pulser V6
WHITE/Blue = #5 pulser V6
WHITE/Brown = #6 pulser V6
YELLOW/White = Electric fuel pump for electric carb system (ECS)