1763, from Spanish avocado, altered (by folk etymology influence of earlier Spanish avocado "lawyer," from same Latin source as advocate (n.)) from earlier aguacate, from Nahuatl ahuakatl "avocado, testicle." So called for its shape. As a color, first attested 1945. The English corruption alligator (pear) is 1763, from Mexican Spanish alvacata, alligato.