Lithium niobate on insulator (LNOI) is a new photonic integrated platform that provides high optical confinement and retains the inherent excellent properties of lithium niobate (LN). Tunable filters are one of the indispensable devices for integrated optics. Here we design and fabricate a thermo-optic (TO) tunable optical filter using two cascaded racetrack microring resonators (MRRs) based on LNOI. The filter shows a narrow and flat top passband with intra band ripple less than 0.3 dB, 3 dB bandwidth of 4.8 GHz and out-of-band rejection of about 35 dB. The insertion loss of the filter is about -14 dB, including grating coupling loss about -6.5 dB and on-chip loss less than -1 dB. The heating power for center wavelength shift of the filter is about 89.4 mW per free spectral range (FSR). Relevant applications of such filters include optical information processing and microwave photonics.