Design tokens in the browser
Accessible 50–950 color scale generator
Paste a brand color in Hex, RGB, or HSL, or pick one of eight studio presets. This desk builds a perceptually uniform 50–950 scale, a harmony set, WCAG contrast against white and black, and copy-ready CSS, Tailwind, and W3C tokens — all in this browser.
The desk needs JavaScript in this browser. Without it, you can still read the guide and the token notes, but the live scale will not draw.
50–950 scale
Click a swatch on the canvas to copy its Hex code. The table below lists luminance and WCAG ratings.
WCAG contrast table
| Step | Hex | Relative luminance | Vs white | Vs black |
|---|
Export tokens
Questions
Does any color leave this browser?
No. The scale, the canvas, the contrast table, and the export files are built in this tab. This page does not post a color or a file to a server.
Why are the swatches on a canvas instead of colored boxes?
The page is served with a strict style policy that only allows the site stylesheet. Drawing swatches on a canvas keeps every live color visible without an inline style attribute.
Which contrast thresholds do the badges use?
AA is 4.50:1 or higher and AAA is 7.00:1 or higher, using the WCAG 2.1 relative-luminance formula for normal text against white or black.
Can I export Tailwind and CSS in one visit?
Yes. Switch the export tabs, then copy or download each format. The SVG sheet is a separate vector file you can drop into a slide or a handbook.
Sibling design desks
These desks in the same series stay in the browser and do not need an account.
- JM Hub — The directory of sibling design and planning desks.
- JM Color Contrast — A pair-wise WCAG contrast checker for a specific text and background pair.
- JM CSS Grid Lab — A visual CSS Grid and Flexbox layout studio for the same design system.
- JM Favicon Forge — A zero-upload favicon, app-icon, and 1200×630 social-card generator.