Named gradient · uiGradients
Anwar
Anwar is a teal gradient from uiGradients (MIT) — #334d50 → #cbcaa5 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.68:1 at 100% (fails AA); black ink: worst 2.32:1 at 0% (fails AA) → use black text.
- Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
- Banding medium: ~9px bands at 1440px — add grain 19 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #334d50 0%, #3d5556 7.14%, #475e5c 14.29%, #526662 21.43%, #5c6f68 28.57%, #67776e 35.71%, #718074 42.86%, #7c897a 50%, #879280 57.14%, #929b86 64.29%, #9da48c 71.43%, #a8ae92 78.57%, #b4b799 85.71%, #bfc09f 92.86%, #cbcaa5 100%);
background-image: linear-gradient(90deg in oklab, #334d50 0%, #cbcaa5 100%);
}bg-linear-to-r/oklab from-[#334d50] to-[#cbcaa5]
<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="#334d50"/><stop offset="7.14%" stop-color="#3d5556"/><stop offset="14.29%" stop-color="#475e5c"/><stop offset="21.43%" stop-color="#526662"/><stop offset="28.57%" stop-color="#5c6f68"/><stop offset="35.71%" stop-color="#67776e"/><stop offset="42.86%" stop-color="#718074"/><stop offset="50%" stop-color="#7c897a"/><stop offset="57.14%" stop-color="#879280"/><stop offset="64.29%" stop-color="#929b86"/><stop offset="71.43%" stop-color="#9da48c"/><stop offset="78.57%" stop-color="#a8ae92"/><stop offset="85.71%" stop-color="#b4b799"/><stop offset="92.86%" stop-color="#bfc09f"/><stop offset="100%" stop-color="#cbcaa5"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"anwar": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.2,
0.302,
0.314
],
"hex": "#334d50"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.796,
0.792,
0.647
],
"hex": "#cbcaa5"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #334d50 0%, #cbcaa5 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Anwar",
"contrast": {
"white": {
"ratio": 1.676,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 2.318,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#000000"
}
}
},
"$description": "Anwar (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More teal 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 Anwar gradient (#334d50, #cbcaa5), 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