Named gradient · uiGradients
Green and Blue
Green and Blue is a green gradient from uiGradients (MIT) — #c2e59c → #64b3f4 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.40:1 at 0% (fails AA); black ink: worst 9.30:1 at 100% (AA) → use black text.
- Banding high: ~15px bands at 1440px — add grain 31 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #c2e59c 0%, #bbe2a4 7.14%, #b5dfac 14.29%, #aedbb3 21.43%, #a7d8ba 28.57%, #a1d5c1 35.71%, #9ad1c7 42.86%, #93cecd 50%, #8dcad3 57.14%, #86c7d9 64.29%, #7fc3df 71.43%, #78bfe4 78.57%, #72bbea 85.71%, #6bb7ef 92.86%, #64b3f4 100%);
background-image: linear-gradient(90deg in oklab, #c2e59c 0%, #64b3f4 100%);
}bg-linear-to-r/oklab from-[#c2e59c] to-[#64b3f4]
<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="#c2e59c"/><stop offset="7.14%" stop-color="#bbe2a4"/><stop offset="14.29%" stop-color="#b5dfac"/><stop offset="21.43%" stop-color="#aedbb3"/><stop offset="28.57%" stop-color="#a7d8ba"/><stop offset="35.71%" stop-color="#a1d5c1"/><stop offset="42.86%" stop-color="#9ad1c7"/><stop offset="50%" stop-color="#93cecd"/><stop offset="57.14%" stop-color="#8dcad3"/><stop offset="64.29%" stop-color="#86c7d9"/><stop offset="71.43%" stop-color="#7fc3df"/><stop offset="78.57%" stop-color="#78bfe4"/><stop offset="85.71%" stop-color="#72bbea"/><stop offset="92.86%" stop-color="#6bb7ef"/><stop offset="100%" stop-color="#64b3f4"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"green-and-blue": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.761,
0.898,
0.612
],
"hex": "#c2e59c"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.392,
0.702,
0.957
],
"hex": "#64b3f4"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #c2e59c 0%, #64b3f4 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Green and Blue",
"contrast": {
"white": {
"ratio": 1.402,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 9.296,
"at": 1,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Green and Blue (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 Green and Blue gradient (#c2e59c, #64b3f4), 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