The yellow stuff are called mustard or tomalley. They are hepatopancreas, a main component of the crab's digestive system. The mustard has great flavors and edible. If you have a female crab, you will also find orange roe inside the shell. They are edible and prized for its delicacy.