Convert OKLab color values into a hexadecimal color code your browser and CSS already understand.
Input formats
Provide colors using oklab(L a b) syntax, with lightness as a percentage from 0% to 100% and the a and b axes as small plain numbers. Each line is parsed independently in batch mode.
Hex output
The output is formatted as a 6-digit hex code in uppercase (#RRGGBB). oklab(68.04% 0.1747 0.1165) becomes #FF5733.
Out-of-gamut values
OKLab, like CIELAB, can represent colors beyond the sRGB gamut a typical screen displays. When a and b combine with the given lightness to fall outside that range, each RGB channel clamps to 0-255, which can shift the output slightly from the exact OKLab value.