Skip to the palette tool
RU

Light and dark theme tokens — checked for contrast

Palettely turns your palette into semantic tokens for both themes: background, surface, text, primary, accent and more. Every text pair is checked against WCAG AA before you copy it.

Photo

Click the photo to pick a color into the selected swatch

Colors
Order
Swatches

    How it works

    1. Bring a palette

      From a photo or your own colors; pick which one is primary.

    2. Review both themes

      Live light and dark previews with every token and its contrast.

    3. Export

      CSS variables with prefers-color-scheme and [data-theme], Tailwind or Figma Variables.

    Why Palettely

    Compared with others

    Questions

    Is my photo uploaded anywhere?

    No. The photo is read and analysed by your browser on your device. Palettely has no server that receives images — you can even use it offline once the page has loaded.

    What do AA and AAA mean?

    They are the WCAG 2.1 contrast levels. AA needs a ratio of at least 4.5:1 for normal text and 3:1 for large text (24 px, or 18.7 px bold). AAA needs 7:1 for normal text and 4.5:1 for large text. Pairs below 3:1 should not be used for text at all.

    How are the colors picked from the photo?

    The image is reduced to a few thousand pixels, grouped with k-means in the perceptual OKLab space, and the final colors are chosen so they are both common in the photo and clearly different from each other. Click anywhere on the photo to pick an exact color by hand.

    What are the 50–950 shades?

    A scale like Tailwind’s: 50 is almost white, 950 almost black, 500 is the middle. Palettely builds it in OKLCH, so every step has an even change in lightness and keeps the hue — no muddy or neon steps.

    Which export formats are there?

    CSS variables (with a dark theme), Tailwind v4 @theme and Tailwind v3 config, SCSS variables, Figma Variables JSON (W3C design tokens) and plain JSON — in HEX, OKLCH, RGB or HSL. Plus a PNG or SVG palette card.

    Can I use the palettes commercially?

    Yes. Colors are yours to use in any project, without credit.

    More color tools