They at least measure as a diode on my DMM diode function but the color code is referring to perhaps a zener voltage? It's an old switchmode style circuit too. I faintly recall seeing this kind of package in the past but never thought to learn what they truly are... Thanks.