An image processing method was employed to obtain wavelength information using light irradiated during camera exposure. Physically, hue (H) and wavelength (W) are closely related. Once the H value is known through image pixel analysis, the wavelength can be obtained. In this paper, the H-W curve was investigated from 400 to 650 nm using raw image data with a complementary metal oxide semiconductor (CMOS) sensor technology. We reconstructed the H-W curve from raw image data based on a demosaicing method with 2 × 2 pixel images. To date, no study has reported on reconstructing the H-W curve using several different interpolation algorithms in the 400~650 nm wavelength region. In addition, several factors affecting the H-W curve with a raw digital image, such as exposure time, aperture, and international organization for standardization (ISO) settings, were investigated for the first time.