Skip to content

[css-color][css-ui] base-color/BaseColor: Like accent-color/AccentColor, but for the rest of the UI #14933

Backlog

Description

@LeaVerou

A missing piece we've seen in the appearance: base discussions is reading or deriving the neutrals the page uses. Even for pages that use grays, UI based on cool grays sticks out like a sore thumb next to a UI using warm or completely neutral grays.

The eye adapts to whatever it takes to be neutral. With one gray scale, that tint becomes the baseline and disappears. With two, there is no single baseline: the warm components look yellowed or dirty, the cool ones look clinical or washed out, and the mismatch is loudest wherever the two share an edge, such as an input on a card, or a card on a page background.

Cool grays Warm grays Mixed
image image image

But how could the page communicate which neutrals it uses? There are so many ways that design systems define their scales!
The good news is, knowing the key color of the scale can get you quite far, just like the rationale for accent color.
E.g. take Tailwind's "gray" scale:

image

can be approximated quite well by varying L (and adjusting C to preserve the same max gamut %) over image:

image

Is it identical? No, but it's a huge improvement in fidelity over defaulting to neutrals, for only one token.

Proposal

A base-color property and a corresponding BaseColor system color, which defaults to a reasonable value. Mechanics are similar to accent-color/AccentColor. I don't think we need BaseColorText since most uses of BaseColor would be derived tints, so BaseColorText doesn't quite make sense.

It could also affect relevant system colors too, such as ButtonBorder, ButtonFace, GrayText, etc

Activity

  1. added
    css-ui-4
    css-color-5
    on Dec 2, 2026
  2. removed
    css-color-5
    on Dec 4, 2026
  3. svgeesus commented on Dec 4, 2026

    @svgeesus
    Collaborator

    Un-tagging CSS Color 5, which is being stabilized for CR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions