23 outs is the most I can find

Board: Js Ts Th 8c
Dead:

equity win tie pots won pots tied
Hand 0: 56.818% 56.82% 00.00% 25 0.00 { KsQs }
Hand 1: 43.182% 43.18% 00.00% 19 0.00 { 6d6h }