Here is an image showing the pin diagram of this transistor.
Classification of hFE
The KSA812-Y transistor can have a current gain of 135 to 270. The gain of the KSA812 will be in the range from 90 to 600, for the KSA812-G it will be in the range from 200 to 400, for the KSA812-L it will be in the range from 300 to 600, for the KSA812-O it will be in the range from 90 to 180.
Marking
The KSA812-Y transistor is marked as "D1Y".
Complementary NPN transistor
The complementary NPN transistor to the KSA812-Y is the KSC1623-Y.
Replacement and Equivalent for KSA812-Y transistor