It all depends where you are located in Costa Rica.
A general
answer is red clay, as it seems one will always find it in most areas.
There are some great deposits of volcanic soils and plenty of sandy soils near the beaches.
I have a farm in the Southwest, in the Osa district, and it is all clay after the first few centimeters of top soil.