Named gradient · uiGradients
MegaTron
MegaTron is a green gradient from uiGradients (MIT) — #c6ffdd → #fbd786 → #f7797d at 90°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.
Same stops, three spaces
The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.
Report
- white ink: worst 1.12:1 at 1% (fails AA); black ink: worst 7.99:1 at 100% (AA) → use black text.
- Banding high: ~8px bands at 1440px — add grain 17 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #c6ffdd 0%, #cbfcd7 3.57%, #cffad1 7.14%, #d4f7cb 10.71%, #d8f4c5 14.29%, #dcf1bf 17.86%, #e0efb9 21.43%, #e4ecb3 25%, #e7e9ad 28.57%, #ebe6a7 32.14%, #eee3a0 35.71%, #f2e09a 39.29%, #f5dd94 42.86%, #f8da8d 46.43%, #fbd786 50%, #fbd186 53.57%, #fcca85 57.14%, #fcc485 60.71%, #fcbd84 64.29%, #fcb784 67.86%, #fcb083 71.43%, #fbaa82 75%, #fba382 78.57%, #fb9c81 82.14%, #fa9580 85.71%, #f98e7f 89.29%, #f9877f 92.86%, #f8807e 96.43%, #f7797d 100%);
background-image: linear-gradient(90deg in oklab, #c6ffdd 0%, #fbd786 50%, #f7797d 100%);
}bg-linear-to-r/oklab from-[#c6ffdd] via-[#fbd786] to-[#f7797d]
<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="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#c6ffdd"/><stop offset="3.57%" stop-color="#cbfcd7"/><stop offset="7.14%" stop-color="#cffad1"/><stop offset="10.71%" stop-color="#d4f7cb"/><stop offset="14.29%" stop-color="#d8f4c5"/><stop offset="17.86%" stop-color="#dcf1bf"/><stop offset="21.43%" stop-color="#e0efb9"/><stop offset="25%" stop-color="#e4ecb3"/><stop offset="28.57%" stop-color="#e7e9ad"/><stop offset="32.14%" stop-color="#ebe6a7"/><stop offset="35.71%" stop-color="#eee3a0"/><stop offset="39.29%" stop-color="#f2e09a"/><stop offset="42.86%" stop-color="#f5dd94"/><stop offset="46.43%" stop-color="#f8da8d"/><stop offset="50%" stop-color="#fbd786"/><stop offset="53.57%" stop-color="#fbd186"/><stop offset="57.14%" stop-color="#fcca85"/><stop offset="60.71%" stop-color="#fcc485"/><stop offset="64.29%" stop-color="#fcbd84"/><stop offset="67.86%" stop-color="#fcb784"/><stop offset="71.43%" stop-color="#fcb083"/><stop offset="75%" stop-color="#fbaa82"/><stop offset="78.57%" stop-color="#fba382"/><stop offset="82.14%" stop-color="#fb9c81"/><stop offset="85.71%" stop-color="#fa9580"/><stop offset="89.29%" stop-color="#f98e7f"/><stop offset="92.86%" stop-color="#f9877f"/><stop offset="96.43%" stop-color="#f8807e"/><stop offset="100%" stop-color="#f7797d"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"megatron": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.776,
1,
0.867
],
"hex": "#c6ffdd"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.984,
0.843,
0.525
],
"hex": "#fbd786"
},
"position": 0.5
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.969,
0.475,
0.49
],
"hex": "#f7797d"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #c6ffdd 0%, #fbd786 50%, #f7797d 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "MegaTron",
"contrast": {
"white": {
"ratio": 1.119,
"at": 0.0067,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 7.986,
"at": 1,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "MegaTron (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More green gradients
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
›take the MegaTron gradient (#c6ffdd, #fbd786, #f7797d), re-interpolate it in oklch, and tell me the worst-case contrast for white text
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md · From uiGradients (MIT) — licences