Colour to colour · generated
Copper to Khaki gradient
Copper (#b87333) into Khaki (#f0e68c) — 42° 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, #b87333 0%, #f0e68c 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, #b87333 0%, #f0e68c 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, #b87333 0%, #b97534 8.28%, #bb7938 16.03%, #bf803e 23.35%, #c48945 30.32%, #ca944d 37.03%, #d0a056 43.56%, #d6ac5f 50%, #dbb869 56.44%, #e1c472 62.97%, #e6cf7a 69.68%, #ead881 76.65%, #eddf87 83.97%, #efe48b 91.72%, #f0e68c 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: #d6ac5f; background-image: radial-gradient(circle farthest-corner at 4.76% 71.28%, rgba(184, 115, 51, 0.832) 0%, rgba(184, 115, 51, 0) 54.26%), radial-gradient(circle farthest-corner at 75.41% 21.31%, rgba(240, 230, 140, 0.729) 0%, rgba(240, 230, 140, 0) 57.29%); background-image: radial-gradient(circle farthest-corner at 4.76% 71.28%, oklch(from #b87333 l c h / 0.8321) 0%, rgb(from #b87333 r g b / 0) 54.26%), radial-gradient(circle farthest-corner at 75.41% 21.31%, oklch(from #f0e68c l c h / 0.7293) 0%, rgb(from #f0e68c r g b / 0) 57.29%);
Report
- white ink: worst 1.28:1 at 100% (fails AA); black ink: worst 5.54:1 at 0% (AA) → use black text.
- Banding medium: ~13px bands at 1440px — add grain 26 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(135deg, #b87333 0%, #bc7b39 7.14%, #c18340 14.29%, #c58b46 21.43%, #c9934d 28.57%, #cd9b53 35.71%, #d2a459 42.86%, #d6ac5f 50%, #dab466 57.14%, #ddbc6c 64.29%, #e1c572 71.43%, #e5cd79 78.57%, #e9d57f 85.71%, #ecde86 92.86%, #f0e68c 100%);
background-image: linear-gradient(135deg in oklab, #b87333 0%, #f0e68c 100%);
}bg-linear-to-br/oklab from-[#b87333] to-[#f0e68c]
<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="#b87333"/><stop offset="7.14%" stop-color="#bc7b39"/><stop offset="14.29%" stop-color="#c18340"/><stop offset="21.43%" stop-color="#c58b46"/><stop offset="28.57%" stop-color="#c9934d"/><stop offset="35.71%" stop-color="#cd9b53"/><stop offset="42.86%" stop-color="#d2a459"/><stop offset="50%" stop-color="#d6ac5f"/><stop offset="57.14%" stop-color="#dab466"/><stop offset="64.29%" stop-color="#ddbc6c"/><stop offset="71.43%" stop-color="#e1c572"/><stop offset="78.57%" stop-color="#e5cd79"/><stop offset="85.71%" stop-color="#e9d57f"/><stop offset="92.86%" stop-color="#ecde86"/><stop offset="100%" stop-color="#f0e68c"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"copper-to-khaki": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.722,
0.451,
0.2
],
"hex": "#b87333"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.941,
0.902,
0.549
],
"hex": "#f0e68c"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(135deg in oklab, #b87333 0%, #f0e68c 100%)",
"interpolation": "oklab",
"angle": 135,
"name": "copper-to-khaki",
"contrast": {
"white": {
"ratio": 1.28,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 5.538,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Copper to Khaki, interpolated in oklab."
}
}More from Copper
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 copper to khaki 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