Those are LEDs already, old school thru hole panel LEDs. There are probably current limiting resistors on the board and they're just 'bare' 1.8v red and 2.2v green given the technology of the time. The lollipop shape is kind of unusual, to find an exact match you'd probably need to order from something like digikey.
I searched digikey for LEDs, rectangular with domed top, through-hole, and I bet these are a match:
https://www.digikey.com/en/products/...169XGD/3084120
https://www.digikey.com/en/products/...169XID/3084121
Measure yours to see if they're 3mm x 2mm, if they are these will almost certainly work.
Mouser also has them
https://www.mouser.com/ProductDetail...heCe0ckA%3D%3D
https://www.mouser.com/ProductDetail...iggkw3fg%3D%3D