Named gradient · uiGradients
Mojito
Mojito is a green gradient from uiGradients (MIT) — #1d976c → #93f9b9 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.27:1 at 100% (fails AA); black ink: worst 5.70:1 at 0% (AA) → use black text.
- Banding medium: ~12px bands at 1440px — add grain 25 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #1d976c 0%, #299e71 7.14%, #33a477 14.29%, #3cab7c 21.43%, #45b281 28.57%, #4db987 35.71%, #55c08c 42.86%, #5dc792 50%, #65ce97 57.14%, #6dd59d 64.29%, #75dca2 71.43%, #7ce3a8 78.57%, #84ebae 85.71%, #8bf2b3 92.86%, #93f9b9 100%);
background-image: linear-gradient(90deg in oklab, #1d976c 0%, #93f9b9 100%);
}bg-linear-to-r/oklab from-[#1d976c] to-[#93f9b9]
<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="#1d976c"/><stop offset="7.14%" stop-color="#299e71"/><stop offset="14.29%" stop-color="#33a477"/><stop offset="21.43%" stop-color="#3cab7c"/><stop offset="28.57%" stop-color="#45b281"/><stop offset="35.71%" stop-color="#4db987"/><stop offset="42.86%" stop-color="#55c08c"/><stop offset="50%" stop-color="#5dc792"/><stop offset="57.14%" stop-color="#65ce97"/><stop offset="64.29%" stop-color="#6dd59d"/><stop offset="71.43%" stop-color="#75dca2"/><stop offset="78.57%" stop-color="#7ce3a8"/><stop offset="85.71%" stop-color="#84ebae"/><stop offset="92.86%" stop-color="#8bf2b3"/><stop offset="100%" stop-color="#93f9b9"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"mojito": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.114,
0.592,
0.424
],
"hex": "#1d976c"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.576,
0.976,
0.725
],
"hex": "#93f9b9"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #1d976c 0%, #93f9b9 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Mojito",
"contrast": {
"white": {
"ratio": 1.273,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 5.695,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Mojito (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 Mojito gradient (#1d976c, #93f9b9), 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