On my boat those wires connect to the gage harness. The yellow wire supplies power to the gages via a inline fuse. On my boat the power wire in the gage harness is purple. The black wire is ground. On most boats black wires are ground. The green wire supplies the signal to the tac. On my boat the tac signal wire in the gage harness is grey. The pink wire supplies the signal to the trim. On my boat the trim signal wire in the gage harness is black/white. Hope this helps.