[csswg-drafts] [css-forms] What is motivating using the `lab` interpolation color space in the default style sheet (#13496)

weinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-forms] What is motivating using the `lab` interpolation color space in the default style sheet ==
In a number of places, the `lab` interpolation color space is used in `color-mix` in the default style sheets defined in the CSS Forms spec. For example this rule (in this [section](https://drafts.csswg.org/css-forms-1/#stylesheet-button)):

```css
button:enabled:hover,
select:enabled:hover,
input[type="color"]:enabled:hover,
input[type="button"]:enabled:hover,
input[type="submit"]:enabled:hover,
input[type="file"]:enabled::files-selector-button:hover {
  background-color: color-mix(in lab, currentColor 10%, transparent);
}
```

What is motivating the use of `lab` specifically here?

In most situations, the advice has been to use the default interpolation color space (which is `oklab` (https://drafts.csswg.org/css-color-5/#color-mix-space). Is there some quality of `lab` that is important for this use case? If not, my recommendation would be to use the default.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13496 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 13 February 2026 18:20:39 UTC