The KSA642Y is manufactured in a plastic TO-92 case. When looking at the flat side with the leads pointed downward, the three leads emerging from the transistor are, from left to right, the emitter, base, and collector leads. The KSA642CY transistor (with suffix "C") is the center collector version of the KSA642Y. Here is an image showing the pin diagram of this transistor.
Classification of hFE
The KSA642Y transistor can have a current gain of 120 to 240. The gain of the KSA642 will be in the range from 70 to 400, for the KSA642G it will be in the range from 200 to 400, for the KSA642O it will be in the range from 70 to 140.
Complementary NPN transistor
The complementary NPN transistor to the KSA642Y is the KSD227Y.