Colour to colour
Rust to Dark Olive Green gradient
Rust (#b7410e) into Dark Olive Green (#556b2f) — 87° 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, #b7410e 0%, #556b2f 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, #b7410e 0%, #556b2f 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, #b7410e 0%, #b6420f 8.28%, #b24511 16.03%, #ad4914 23.35%, #a64e18 30.32%, #9e531c 37.03%, #95581f 43.56%, #8b5c22 50%, #816026 56.44%, #776328 62.97%, #6d662a 69.68%, #64682c 76.65%, #5c6a2e 83.97%, #576b2f 91.72%, #556b2f 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: #8b5c22; background-image: radial-gradient(circle farthest-corner at 85.81% 75.14%, rgba(183, 65, 14, 0.775) 0%, rgba(183, 65, 14, 0) 55.32%), radial-gradient(circle farthest-corner at 49.7% 28.42%, rgba(85, 107, 47, 0.866) 0%, rgba(85, 107, 47, 0) 48.81%); background-image: radial-gradient(circle farthest-corner at 85.81% 75.14%, oklch(from #b7410e l c h / 0.7748) 0%, rgb(from #b7410e r g b / 0) 55.32%), radial-gradient(circle farthest-corner at 49.7% 28.42%, oklch(from #556b2f l c h / 0.866) 0%, rgb(from #556b2f r g b / 0) 48.81%);
Report
- white ink: worst 5.56:1 at 8% (AA); black ink: worst 3.52:1 at 98% (AA-large only) → use white text.
- Banding high: ~15px bands at 1440px — add grain 30 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(135deg, #b7410e 0%, #b14612 7.14%, #ab4b16 14.29%, #a54f19 21.43%, #9f521b 28.57%, #98561e 35.71%, #925920 42.86%, #8b5c22 50%, #855f25 57.14%, #7e6126 64.29%, #766328 71.43%, #6f652a 78.57%, #67672c 85.71%, #5e692d 92.86%, #556b2f 100%);
background-image: linear-gradient(135deg in oklab, #b7410e 0%, #556b2f 100%);
}bg-linear-to-br/oklab from-[#b7410e] to-[#556b2f]
<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="#b7410e"/><stop offset="7.14%" stop-color="#b14612"/><stop offset="14.29%" stop-color="#ab4b16"/><stop offset="21.43%" stop-color="#a54f19"/><stop offset="28.57%" stop-color="#9f521b"/><stop offset="35.71%" stop-color="#98561e"/><stop offset="42.86%" stop-color="#925920"/><stop offset="50%" stop-color="#8b5c22"/><stop offset="57.14%" stop-color="#855f25"/><stop offset="64.29%" stop-color="#7e6126"/><stop offset="71.43%" stop-color="#766328"/><stop offset="78.57%" stop-color="#6f652a"/><stop offset="85.71%" stop-color="#67672c"/><stop offset="92.86%" stop-color="#5e692d"/><stop offset="100%" stop-color="#556b2f"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"rust-to-darkolivegreen": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.718,
0.255,
0.055
],
"hex": "#b7410e"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.333,
0.42,
0.184
],
"hex": "#556b2f"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(135deg in oklab, #b7410e 0%, #556b2f 100%)",
"interpolation": "oklab",
"angle": 135,
"name": "rust-to-darkolivegreen",
"contrast": {
"white": {
"ratio": 5.556,
"at": 0.0782,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 3.516,
"at": 0.977,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Rust to Dark Olive Green, interpolated in oklab."
}
}More from Rust
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 rust to dark olive green 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