Why use OKLCH for a color scale?
OKLCH separates lightness, chroma, and hue, which makes shade progression easier to reason about than RGB interpolation.
Perceptual color
Create predictable lightness steps while keeping every generated color inside the sRGB gamut used by the web.
--color-teal-100: oklch(0.93 0.04 190);
--color-teal-500: oklch(0.62 0.12 190);
--color-teal-900: oklch(0.32 0.06 190);OKLCH separates lightness, chroma, and hue, which makes shade progression easier to reason about than RGB interpolation.
Yes. Every palette can also be copied as HEX values.