A ripe starfruit is primarily bright yellow with perhaps a hint of green at the ridges. If it's completely green, it's not yet ripe.