Colour to colour · generated
Amber to Champagne gradient
Amber (#ffbf00) into Champagne (#f7e7ce) — 5° apart on the OKLCH hue wheel. Below: the same two stops interpolated in OKLab and in OKLCH, side by side, because the difference is real and most generators never let you see it; then an eased version and a mesh, each with the worst-case contrast for white and black text. The engine's own pick for this pair is oklab — both colours are in the palette and the hue gap is small enough that the straight line stays clean.
OKLab and OKLCH, side by side
OKLab
Open in maker →A straight line through the a/b plane: the two hues meet halfway and desaturate a little at the midpoint. The safe default — it is what CSS and Tailwind default to.
linear-gradient(135deg in oklab, #ffbf00 0%, #f7e7ce 100%)
OKLCH (shorter hue)
Open in maker →Chroma and hue interpolate separately, so the midpoint keeps its saturation and the hue travels the short way round the wheel — richer, and it can pass through hues neither colour has.
linear-gradient(135deg in oklch shorter hue, #ffbf00 0%, #f7e7ce 100%)
And the sRGB line most tools draw, for comparison — the number is the chroma that survives at the dullest point.
Eased and mesh
Eased (soft)
Open in maker →A cubic-bezier(.4, 0, .6, 1) mix ratio baked into 15 stops: the transition lingers on each colour and moves faster through the middle, which is what makes a gradient read as designed rather than default.
linear-gradient(135deg in oklab, #ffbf00 0%, #ffc011 8.28%, #ffc128 16.03%, #fec43d 23.35%, #fec851 30.32%, #fdcc64 37.03%, #fcd076 43.56%, #fbd487 50%, #fbd897 56.44%, #fadca6 62.97%, #f9e0b3 69.68%, #f8e3be 76.65%, #f8e5c7 83.97%, #f7e6cc 91.72%, #f7e7ce 100%)
Mesh
Open in maker →Both colours as stacked radials over a base, laid out by a seeded Poisson-disc sampler — the same seed gives the same mesh forever. Exports as CSS, SVG and PNG.
background-color: #fbd487; background-image: radial-gradient(circle farthest-corner at 85.66% 72.43%, rgba(255, 191, 0, 0.81) 0%, rgba(255, 191, 0, 0) 58.69%), radial-gradient(circle farthest-corner at 46.71% 90.11%, rgba(247, 231, 206, 0.806) 0%, rgba(247, 231, 206, 0) 49.66%); background-image: radial-gradient(circle farthest-corner at 85.66% 72.43%, oklch(from #ffbf00 l c h / 0.8096) 0%, rgb(from #ffbf00 r g b / 0) 58.69%), radial-gradient(circle farthest-corner at 46.71% 90.11%, oklch(from #f7e7ce l c h / 0.8058) 0%, rgb(from #f7e7ce r g b / 0) 49.66%);
Report
- white ink: worst 1.22:1 at 100% (fails AA); black ink: worst 12.70:1 at 0% (AA) → use black text.
- Banding medium: ~7px bands at 1440px — add grain 13 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(135deg, #ffbf00 0%, #ffc22e 7.14%, #fec544 14.29%, #fec855 21.43%, #fdcb63 28.57%, #fdce70 35.71%, #fcd17c 42.86%, #fbd487 50%, #fbd792 57.14%, #fada9d 64.29%, #fadca7 71.43%, #f9dfb1 78.57%, #f8e2bb 85.71%, #f8e4c4 92.86%, #f7e7ce 100%);
background-image: linear-gradient(135deg in oklab, #ffbf00 0%, #f7e7ce 100%);
}bg-linear-to-br/oklab from-[#ffbf00] to-[#f7e7ce]
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#ffbf00"/><stop offset="7.14%" stop-color="#ffc22e"/><stop offset="14.29%" stop-color="#fec544"/><stop offset="21.43%" stop-color="#fec855"/><stop offset="28.57%" stop-color="#fdcb63"/><stop offset="35.71%" stop-color="#fdce70"/><stop offset="42.86%" stop-color="#fcd17c"/><stop offset="50%" stop-color="#fbd487"/><stop offset="57.14%" stop-color="#fbd792"/><stop offset="64.29%" stop-color="#fada9d"/><stop offset="71.43%" stop-color="#fadca7"/><stop offset="78.57%" stop-color="#f9dfb1"/><stop offset="85.71%" stop-color="#f8e2bb"/><stop offset="92.86%" stop-color="#f8e4c4"/><stop offset="100%" stop-color="#f7e7ce"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"amber-to-champagne": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
1,
0.749,
0
],
"hex": "#ffbf00"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.969,
0.906,
0.808
],
"hex": "#f7e7ce"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(135deg in oklab, #ffbf00 0%, #f7e7ce 100%)",
"interpolation": "oklab",
"angle": 135,
"name": "amber-to-champagne",
"contrast": {
"white": {
"ratio": 1.216,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 12.704,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Amber to Champagne, interpolated in oklab."
}
}More from Amber
Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›make a amber to champagne hero gradient in oklch that passes AA for white text, with grain if it bands
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md