window comparator with TLV3402
Are these IC the same?
  NO


Don't expect more than 5mA from that nanoAmp OA.  10mA is ABS MAX.

So just increase R to the appropriate value.

The answers are usually in the datasheet.

Fig 3,4,5 Indicate this IC is not intended for driving LEDs.
Using the slope of Vol/Iol as the driver impedance, I compute;

Vcc vs Ro

2.7 V  ...   2.7 kΩ
5.0 V  ... 1.6 kΩ
15. V ...  1 kΩ

When in doubt verify all pin voltages, especially Vout.