Named gradient · WebGradients
Happy Unicorn
Happy Unicorn is a green gradient from WebGradients (MIT) — #b3ffab → #12fff7 at 0°. 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.18:1 at 0% (fails AA); black ink: worst 16.67:1 at 100% (AA) → use black text.
- Banding high: ~9px bands at 1440px — add grain 18 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(0deg, #b3ffab 0%, #adffb1 7.14%, #a6ffb7 14.29%, #9fffbd 21.43%, #98ffc3 28.57%, #90ffc8 35.71%, #88ffce 42.86%, #80ffd3 50%, #77ffd8 57.14%, #6dffde 64.29%, #62ffe3 71.43%, #56ffe8 78.57%, #47ffed 85.71%, #34fff2 92.86%, #12fff7 100%);
background-image: linear-gradient(0deg in oklab, #b3ffab 0%, #12fff7 100%);
}bg-linear-to-t/oklab from-[#b3ffab] to-[#12fff7]
<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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#b3ffab"/><stop offset="7.14%" stop-color="#adffb1"/><stop offset="14.29%" stop-color="#a6ffb7"/><stop offset="21.43%" stop-color="#9fffbd"/><stop offset="28.57%" stop-color="#98ffc3"/><stop offset="35.71%" stop-color="#90ffc8"/><stop offset="42.86%" stop-color="#88ffce"/><stop offset="50%" stop-color="#80ffd3"/><stop offset="57.14%" stop-color="#77ffd8"/><stop offset="64.29%" stop-color="#6dffde"/><stop offset="71.43%" stop-color="#62ffe3"/><stop offset="78.57%" stop-color="#56ffe8"/><stop offset="85.71%" stop-color="#47ffed"/><stop offset="92.86%" stop-color="#34fff2"/><stop offset="100%" stop-color="#12fff7"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"happy-unicorn": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.702,
1,
0.671
],
"hex": "#b3ffab"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.071,
1,
0.969
],
"hex": "#12fff7"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(0deg in oklab, #b3ffab 0%, #12fff7 100%)",
"interpolation": "oklab",
"angle": 0,
"name": "Happy Unicorn",
"contrast": {
"white": {
"ratio": 1.179,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 16.673,
"at": 1,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Happy Unicorn (WebGradients, 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 Happy Unicorn gradient (#b3ffab, #12fff7), 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 WebGradients (MIT) — licences