If you take the light apart so you can see the wires to the bulb itself you will see a plug with three wires. The plug will have two verticle prongs and one horizontal prong. The horizontal prong is the low beam. If the horizontal prong is on the top then the right side verticle is the high beam, The left side verticle is the ground.
What ever the colors are don't matter.
Just hook the left side prong to ground, on your bike the black wire.
The right side to high beam, yellow on the bike.
The top to the low beam, green bike.
You will find the the indicator in the shell is already hooked to the high beam. Your light might also have a built in daytime running light. That is a small bulb in the lower half of the headlight, seperate from the regular high/low beam bulb.
Your headlight should come with instructions, follow them.