We report an Optic fiber color sensor applied to measure the inside state of an airtight container, that will be able to indicate the life time of the container material. This measurement system consists of a cool light source, Y-branch optical fiber cable, photo-detectors and an information processing module which output the experimental result as the form of triple color primaries. Because the airtight container have only one hole, it only allows inserting the fiber, so applying the fiber optic sensor to detect is the better selection than other ways. The experiment results are discussed in detail. With simple structure, small volume, light weighty, the fiber optic color sensor can measure without effecting the inside vacuity of the airtight container. It is suitable to precisely remote control the measurement in the space of narrow and having complex atmosphere, and is in prospect of wide application.