Well, they DO match the Toyota wiring diagram I posted. You actually have the unmitigated gall to first consult stinkin' Haynes rather than the wisdom of a random poster on the internet?
You can also go by the position in the connector, instead of wire color, as it is universal for all H4:
Now PLEASE swap those left and right high beam fuses so we can move on to something else.
__________________
'99 4Runner SR5 5spd 3.4L V6 4WD(U.S), original '99 Talls in front, OME 906s in back, Hella fogs, Trekmaster shocks in front, Billy in back, no running boards, FIAMM horns, Alpine sound, Michelin LTX M/S2's, owned since new.
'97 HiLux SW4 5spd 4WD(Japan model bought in Brazil assembled in Argentina, very close to a 3.0 4Runner/Surf)
'71 FordWillys Jeep CJ5 (with straight six Ford Maverick 3.0 liter engine--lives in the mountains north of Sao Paulo Brazil)
My Backyard Frame Swap