I did a graph that showed that while the usual gamma code for LEDs wasn’t exactly the same, using either V squared or better yet V cubed, it was pretty close curve wise, and way cheap to calculate.
Yes, your LEDs may be different but without some specific testing to confirm, it’ll likely still be within the expected range, and this would be “good enough”