Named gradient · uiGradients

Mango

Mango is a yellow gradient from uiGradients (MIT) — #ffe259 → #ffa751 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.

Aa — the quick brown fox
black text · worst 10.90:1 · AA
white 1.29 failsblack 10.90 AAbanding high

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.

sRGB94%
OKLab94%
OKLCH96%

Report

  • white ink: worst 1.29:1 at 0% (fails AA); black ink: worst 10.90:1 at 100% (AA) → use black text.
  • Banding high: ~24px bands at 1440px — add grain 46 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #ffe259 0%, #ffde59 7.14%, #ffda58 14.29%, #ffd657 21.43%, #ffd157 28.57%, #ffcd56 35.71%, #ffc956 42.86%, #ffc555 50%, #ffc155 57.14%, #ffbc54 64.29%, #ffb853 71.43%, #ffb453 78.57%, #ffb052 85.71%, #ffab52 92.86%, #ffa751 100%);
  background-image: linear-gradient(90deg in oklab, #ffe259 0%, #ffa751 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#ffe259] to-[#ffa751]
svg
<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="#ffe259"/><stop offset="7.14%" stop-color="#ffde59"/><stop offset="14.29%" stop-color="#ffda58"/><stop offset="21.43%" stop-color="#ffd657"/><stop offset="28.57%" stop-color="#ffd157"/><stop offset="35.71%" stop-color="#ffcd56"/><stop offset="42.86%" stop-color="#ffc956"/><stop offset="50%" stop-color="#ffc555"/><stop offset="57.14%" stop-color="#ffc155"/><stop offset="64.29%" stop-color="#ffbc54"/><stop offset="71.43%" stop-color="#ffb853"/><stop offset="78.57%" stop-color="#ffb453"/><stop offset="85.71%" stop-color="#ffb052"/><stop offset="92.86%" stop-color="#ffab52"/><stop offset="100%" stop-color="#ffa751"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "mango": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.886,
            0.349
          ],
          "hex": "#ffe259"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.655,
            0.318
          ],
          "hex": "#ffa751"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #ffe259 0%, #ffa751 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Mango",
        "contrast": {
          "white": {
            "ratio": 1.29,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 10.898,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Mango (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More yellow gradients

mcpConnect your agent to the gradient engine
live endpoint

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.

endpointhttps://mcp.brandsweets.com/gradients/mcp
claude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
try this prompt

take the Mango gradient (#ffe259, #ffa751), 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