designwithfocus

OKLAB to XYZ Converter

Convert OKLAB color values to XYZ instantly.

Free No sign-up Runs in your browser
Converted result (XYZ)
xyz(11.9, 17, 23.1)
HEX#1B7F80
RGBrgb(27, 127, 128)
RGBArgba(27, 127, 128, 1)
HSLhsl(181, 65%, 30%)
HSLAhsla(181, 65%, 30%, 1)
HSVhsv(181, 79%, 50%)
CMYKcmyk(79%, 1%, 0%, 50%)
LABlab(48.2% -26.4 -8.5)
LCHlch(48.2% 27.7 197.8)
OKLCHoklch(54.4% 0.1 196)
OKLABoklab(0.5 -0.1 0)
HWBhwb(181 11% 50%)
XYZxyz(11.9, 17, 23.1)
Decimal1802112
Tailwindcyan-700
Nameteal

How to use OKLAB to XYZ Converter

  1. Type or paste a OKLAB value in the input box.
  2. The XYZ value updates as you type, along with the other formats.
  3. Click Copy next to the format you need, or copy everything as CSS.

How to convert OKLAB to XYZ

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 xyz(11.9, 17.0, 23.1).

OKLAB: oklab(0.54, -0.08, -0.02)
XYZ: xyz(11.9, 17.0, 23.1)

The OKLAB to XYZ formula

A OKLAB value describes the same colour as a XYZ 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.

FormatValue for the example
HEX#1B7F80
RGBrgb(27, 127, 128)
HSLhsl(181, 65%, 30%)
CMYKcmyk(79%, 1%, 0%, 50%)

FAQ

Is OKLAB the same colour as XYZ?

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 XYZ back to OKLAB?

Yes. Use the XYZ 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.

Report a problem with this tool