Amber to Pastel Yellow gradient and UI scale
CSS linear-gradient
linear-gradient(135deg in oklch, oklch(0.64 0.13 60), oklch(0.88 0.05 85))Sandbox
Open Amber to Pastel Yellow in the blender
Drag the two orbs if you want a different mix. The theme on the homepage follows this pair.
Open sandboxSample card
Amber to Pastel Yellow
WCAG AA 17.33:1
50 to 900 amber scale
--color-amber-50: oklch(0.97 0.01 60); --color-amber-100: oklch(0.93 0.02 60); --color-amber-200: oklch(0.86 0.06 60); --color-amber-300: oklch(0.76 0.11 60); --color-amber-400: oklch(0.66 0.10 60); --color-amber-500: oklch(0.55 0.08 60); --color-amber-600: oklch(0.46 0.07 60); --color-amber-700: oklch(0.38 0.06 60); --color-amber-800: oklch(0.30 0.04 60); --color-amber-900: oklch(0.24 0.03 60);
50
oklch(0.97 0.01 60)
100
oklch(0.93 0.02 60)
200
oklch(0.86 0.06 60)
300
oklch(0.76 0.11 60)
400
oklch(0.66 0.10 60)
500
oklch(0.55 0.08 60)
600
oklch(0.46 0.07 60)
700
oklch(0.38 0.06 60)
800
oklch(0.30 0.04 60)
900
oklch(0.24 0.03 60)
How Amber to Pastel Yellow is built
Hue distance
Amber to Pastel Yellow keeps the second color pale, 25° from Amber toward Pastel Yellow.
Contrast
Text on the page background measures 17.3:1. The same text on the card surface measures 15.4:1. Both clear the WCAG AA line of 4.5:1.
Using the scale
Paint the hero with the Amber to Pastel Yellow gradient, then use the Amber scale for controls and the neutral tokens for cards.