Yellow-400 vs.

APCA60 – Ok for text
APCA65 – Ok for text
WCAG3.5 – AA (large & UI components)

Yellow-400 vs.

APCA65 – Ok for text
APCA71 – Ok for text
WCAG3.8 – AA (large & UI components)

Yellow-400 vs.

APCA36 – Not for reading text
APCA39 – Not for reading text
WCAG5.4 – AA (normal), AAA (large)
L
C
H

Exports

Figma. Install Figma Tokens. Run the plugin and open JSON tab. Copy tokens and paste there.

Hotkeys

  • 1 - 9 — switch palette
  • — select another color
  • + — move rows and columns
  • + + — duplicate rows and columns
  • L + — change lightness of selected color
  • C + — change chroma of selected color
  • H + — change hue of selected color
  • + C — copy selected color as hex.
  • + + C — copy selected color in lch() format. Note that it has limited browser support.
  • + V — paste color. Just copy color in any format and paste it here.
  • Hold B — preview palette in greys.

Credits

Made by Alexey Ardov. Contact me if you have any suggestions.

Huetone is heavily inspired by that Stripe article. And it uses the great chroma.js library under the hood.

Special thanks for Lea Verou, Chris Lilley and the CSS working group for providing all the essential code for color conversions.

Accessible Perceptual Contrast Algorithm (APCA) by Andrew Somers is a WCAG 3 working draft and may change later. To learn more visit this page or check this thread on GitHub.