RGB to OKLAB Converter

Type a RGB value and get the exact OKLAB equivalent instantly — plus every other format, free and private.

Shortcuts: / search · R randomize · T theme

Input

Result

How to convert RGB to OKLAB

  1. Enter your RGB value in the input panel (or use the visual picker).
  2. The OKLAB result updates instantly as you type — no submit button needed.
  3. Click Copy next to the result, or expand “All other formats” for every color model at once.

About RGB

RGB describes a color by its red, green and blue light components, each from 0 to 255. It is the native model of screens and the most widely used digital color format.

About OKLAB

OKLab is a modern perceptual color space (2020) that fixes CIELAB's hue-shift problems. It is now built into CSS and is excellent for gradients and color manipulation.

Frequently asked questions

How do I convert RGB to OKLAB?

Enter your RGB value in the converter above. The OKLAB equivalent is calculated instantly in your browser and can be copied with one click.

Is this RGB to OKLAB converter free?

Yes — every Yexla tool is completely free, requires no signup, and runs locally in your browser. Your colors are never uploaded.

What is the difference between RGB and OKLAB?

RGB describes a color by its red, green and blue light components, each from 0 to 255. It is the native model of screens and the most widely used digital color format. OKLab is a modern perceptual color space (2020) that fixes CIELAB's hue-shift problems. It is now built into CSS and is excellent for gradients and color manipulation.

Can I convert to other formats too?

Yes. Expand the “All other formats” panel to see the same color as HEX, RGB, HSL, HSV, CMYK, LAB, LCH, OKLAB, OKLCH and XYZ simultaneously.