Dumb Dome Light Wiring Question

I don't know. 12 volts goes up there, through the bulb and down again so those could be both black. No chassis ground at the fixture.
Yellow supplies a ground at door jamb switches and at headlight switch. Some have a delay timer tied in this circuit also.
Good luck with it.