{"title":"Adafruit OPT4048 Tri-Stimulus XYZ Color and Lux Sensor","handle":"adafruit-opt4048-tri-stimulus-xyz-color-and-lux-sensor-ada6335","url":"/products/adafruit-opt4048-tri-stimulus-xyz-color-and-lux-sensor-ada6335","description":"A modern take on the common RGB colour sensor — the OPT4048 provides true CIE XYZ tri-stimulus output so you can match readings directly to standard colour spaces. It also calculates colour temperature (based on CIE) and lux measurements up to 144 kLux, making it suitable for everything from dim indoor lighting to bright outdoor conditions.\n\nMounted on an Adafruit breakout PCB with support circuitry for both 3.3 V and 5 V logic levels, the sensor communicates over I2C with STEMMA QT / Qwiic connectors for solderless wiring. CircuitPython/Python and Arduino libraries are available for quick integration.\n\nKey Features\n\n\nCIE XYZ Tri-Stimulus Output – True colour-space-matched readings, not just raw RGB values\n\nColour Temperature Calculation – CIE-based colour temperature readings for accurate white-point measurement\n\nLux Measurement – Up to 144 kLux for bright sunlight conditions\n\nConfigurable Integration Time – From 600 µs (ultra-bright) to 800 ms per channel (dim conditions)\n\nLow/High Threshold Interrupt – Hardware interrupt for light-level monitoring\n\nI2C Interface – Two wires plus power and ground\n\nSTEMMA QT / Qwiic Connectors – Solderless I2C connection, compatible with SparkFun Qwiic\n\n3 V and 5 V Compatible – Works with Feather, Raspberry Pi, Arduino, Metro, and more\n\n\nIdeal For\n\nColour measurement and colour matching applications\nColour temperature monitoring for lighting systems\nAmbient light sensing and lux metering\nDisplay calibration and white-balance adjustments\nSmart home and IoT light-sensing projects\n\n\nPackage Contents\n\n1× Adafruit OPT4048 Tri-Stimulus XYZ Colour and Lux Sensor Breakout\n\n\n\nNote: STEMMA QT cable not included. A compatible I2C cable is required for solderless connection.\n\n\nResources\n\n\nWhat is STEMMA QT? – Introduction to the STEMMA QT connector system\nAdafruit OPT4048 Arduino Library\n","vendor":"Adafruit","product_type":"physical","in_stock":false,"options":[],"variants":[{"id":312,"title":"Default Title","sku":"AF-6335","mpn":"ADA6335","price":18.95,"compare_at_price":0.0,"on_sale":false,"in_stock":false,"available_quantity":0,"option1":"Default Title"}]}