A porous lanthanide-organic framework UTSA-62a of a topology has been synthesized from a hexacarboxylate and structurally characterized, exhibiting significant potential for use in CO2-CH4-H2 separation (H2 purification) processes with high productivities and low regeneration costs when operating at high pressure and room temperature.