OKLCH Skill

Convert, build, and check colors in OKLCH.

By

Jakub Krehel

Price

Free

OKLCH Skill is an agent skill by Jakub Krehel for working with the OKLCH color space, where equal steps in the numbers look like equal steps to the eye.

What it does

  • Converts hex, RGB, and HSL colors to OKLCH.

  • Generates palettes and multi-hue scales, including dark mode.

  • Checks contrast with APCA and WCAG, and fixes failing pairs.

  • Handles gamut clamping, Display P3 fallbacks, and Tailwind v4 theme scales.

When to use it

Reach for it when moving a palette to OKLCH, or when colors drift in hue or fail contrast.

How to get it

The skill is free on GitHub under the MIT license, in its own repo, and pairs with his interactive tool at oklch.fyi. Your agent can reach for it on its own when the task fits, or you can call it by name.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

OKLCH Skill

Convert, build, and check colors in OKLCH.

By

Jakub Krehel

Price

Free

OKLCH Skill is an agent skill by Jakub Krehel for working with the OKLCH color space, where equal steps in the numbers look like equal steps to the eye.

What it does

  • Converts hex, RGB, and HSL colors to OKLCH.

  • Generates palettes and multi-hue scales, including dark mode.

  • Checks contrast with APCA and WCAG, and fixes failing pairs.

  • Handles gamut clamping, Display P3 fallbacks, and Tailwind v4 theme scales.

When to use it

Reach for it when moving a palette to OKLCH, or when colors drift in hue or fail contrast.

How to get it

The skill is free on GitHub under the MIT license, in its own repo, and pairs with his interactive tool at oklch.fyi. Your agent can reach for it on its own when the task fits, or you can call it by name.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

OKLCH Skill

Convert, build, and check colors in OKLCH.

By

Jakub Krehel

Price

Free

OKLCH Skill is an agent skill by Jakub Krehel for working with the OKLCH color space, where equal steps in the numbers look like equal steps to the eye.

What it does

  • Converts hex, RGB, and HSL colors to OKLCH.

  • Generates palettes and multi-hue scales, including dark mode.

  • Checks contrast with APCA and WCAG, and fixes failing pairs.

  • Handles gamut clamping, Display P3 fallbacks, and Tailwind v4 theme scales.

When to use it

Reach for it when moving a palette to OKLCH, or when colors drift in hue or fail contrast.

How to get it

The skill is free on GitHub under the MIT license, in its own repo, and pairs with his interactive tool at oklch.fyi. Your agent can reach for it on its own when the task fits, or you can call it by name.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.