Yellow to Pastel Chartreuse gradient and UI scale
CSS linear-gradient
linear-gradient(135deg in oklch, oklch(0.64 0.13 90), oklch(0.88 0.05 115))Sandbox
Open Yellow to Pastel Chartreuse in the blender
Drag the two orbs if you want a different mix. The theme on the homepage follows this pair.
Open sandboxSample card
Yellow to Pastel Chartreuse
WCAG AA 17.26:1
50 to 900 yellow scale
--color-yellow-50: oklch(0.97 0.02 90); --color-yellow-100: oklch(0.93 0.04 90); --color-yellow-200: oklch(0.86 0.11 90); --color-yellow-300: oklch(0.76 0.10 90); --color-yellow-400: oklch(0.66 0.08 90); --color-yellow-500: oklch(0.55 0.07 90); --color-yellow-600: oklch(0.46 0.06 90); --color-yellow-700: oklch(0.38 0.05 90); --color-yellow-800: oklch(0.30 0.04 90); --color-yellow-900: oklch(0.24 0.03 90);
50
oklch(0.97 0.02 90)
100
oklch(0.93 0.04 90)
200
oklch(0.86 0.11 90)
300
oklch(0.76 0.10 90)
400
oklch(0.66 0.08 90)
500
oklch(0.55 0.07 90)
600
oklch(0.46 0.06 90)
700
oklch(0.38 0.05 90)
800
oklch(0.30 0.04 90)
900
oklch(0.24 0.03 90)
How Yellow to Pastel Chartreuse is built
Hue distance
Yellow to Pastel Chartreuse keeps the second color pale, 25° from Yellow toward Pastel Chartreuse.
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 Yellow to Pastel Chartreuse gradient, then use the Yellow scale for controls and the neutral tokens for cards.