TXT · Text & Data tools

OKLCH to RGB Converter

Active color#000000

oklch(0% 0 0)

OKLCH Input
RGB Output
1Active Line0Valid Items
Go To Full Color Converter

Convert OKLCH color values into standard RGB channels.

Input formats

Provide colors using oklch(L C H) syntax: lightness as a percentage, chroma as a plain number, and hue as a degree value from 0 to 360. Each line is parsed independently in batch mode.

RGB output

The output prints as rgb(r, g, b) with each channel from 0 to 255. oklch(68.04% 0.21 33.69) becomes rgb(255, 87, 51).

Gamut clamping

Not every lightness, chroma, and hue combination maps to a color inside sRGB. When chroma is too high for a given lightness and hue, each RGB channel clamps to 0-255, which can shift the result from the exact OKLCH value entered.

Frequently Asked Questions

oklch(L C H) with L as a percentage, C as a plain chroma number, and H as a hue angle in degrees, such as oklch(68.04% 0.21 33.69). Paste one color per line for batch conversion.

No. High chroma at some hues describes colors outside the sRGB gamut a browser can display. Those results are clamped to the nearest representable channel values.

Design tools, older image formats, and canvas APIs generally expect RGB rather than oklch(), so converting gives a usable fallback anywhere OKLCH isn't read directly.

Try one of our format-specific converters below

Full Color Converter tool

Explore Our Tools

Browse all tools