The outer layer of the well-ripe and sweet pineapple must have a yellow colour from top to bottom, slightly soft to touch, and you should feel the sweet aroma when sniffed. The stiff, hard and green outer layer indicates the pineapple is unripe.