How to use OKLAB to OKLCH Converter
- Type or paste a OKLAB value in the input box.
- The OKLCH value updates as you type, along with the other formats.
- Click Copy next to the format you need, or copy everything as CSS.
How to convert OKLAB to OKLCH
Enter a OKLAB value above. The tool converts it instantly in your browser, with no upload and no sign-up.
The example below uses the site teal #1B7F80, which converts to oklch(0.54, 0.09, 196).
OKLAB: oklab(0.54, -0.08, -0.02) OKLCH: oklch(0.54, 0.09, 196)
The OKLAB to OKLCH formula
A OKLAB value describes the same colour as a OKLCH value, only written in a different notation. Converting changes the notation, never the colour itself.
For the example colour #1B7F80, the red channel is 27, green is 127 and blue is 128. Each format below is the same colour written differently.
| Format | Value for the example |
|---|---|
| HEX | #1B7F80 |
| RGB | rgb(27, 127, 128) |
| HSL | hsl(181, 65%, 30%) |
| CMYK | cmyk(79%, 1%, 0%, 50%) |
FAQ
Is OKLAB the same colour as OKLCH?
Yes. They describe the same colour in different notation, so converting loses no colour information.
Does this tool upload my colour?
No. The conversion runs entirely in your browser.
Can I convert OKLCH back to OKLAB?
Yes. Use the OKLCH to OKLAB converter, which is listed in the related converters row.
Why do the numbers round?
Some formats use percentages, so the tool rounds to whole numbers for readability.