The Adafruit OPT4048 Tri-Stimulus XYZ Color, Light Temperature and Lux Sensor is a modern take on the common 'RGB' color sensor: this time with true "CIE" XYZ output so you can match it to your existing color space. It's also excellent for calculating color temperature, which is based on CIE, and as a bonus also has Lux calculation, up to 144 kLux for light measurement even in the brightest situations.
The OPT4048 has a lot of configurability, with the ability to adjust the integration time (how long light is being measured) to set the sensitivity of your measurements depending on the lighting conditions, from 600 μs for ultra-bright to 800 ms-per-channel in dim situations. There's also an interrupt function for low/high threshold.
To make the sensor easy to use, we've taken the OPT4048 and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Additionally, since it speaks I2C you can easily connect it up with two wires (plus power and ground!). We've even included SparkFun qwiic compatible STEMMA QT connectors for the I2C Bus, so you don't even need to solder!
Just wire up to your favorite micro and you can use our CircuitPython/Python or Arduino drivers to easily interface with the OPT4048 and get CIE, Lux and light color temperature readings in a minute! QT Cable is not included.