When you eat a crab, you will notice that there is some yellow stuff inside it. This is completely safe to eat and is actually considered one of the tastiest bits. It is the hepatopancreas and is essentially just crab fat.