OKLAB is a color space that tries to match human perception closer than sRGB. You can read about it here. Some of this code is taken from that site.

When I started working on this, I was under the impression that there wasn't an oklch-based color picker. Now I think that you should probably just use this one instead of mine (for now).

Some known issues:

Hex:
#deadbe
Float:
1.000 0.700 0.235
Integer:
255 255 255