Named gradient · uiGradients

Vasily

Vasily is a yellow gradient from uiGradients (MIT) — #e9d362 → #333333 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 1.66:1 · fails
white 1.50 failsblack 1.66 failsbanding medium

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.

sRGB0%
OKLab0%
OKLCH0%

Report

  • white ink: worst 1.50:1 at 0% (fails AA); black ink: worst 1.66:1 at 100% (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: ~8px bands at 1440px — add grain 15 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #e9d362 0%, #dbc760 7.14%, #ccba5d 14.29%, #beae5b 21.43%, #b0a258 28.57%, #a39655 35.71%, #958a52 42.86%, #887f4f 50%, #7b734b 57.14%, #6e6848 64.29%, #625d44 71.43%, #565240 78.57%, #4a483c 85.71%, #3e3d38 92.86%, #333333 100%);
  background-image: linear-gradient(90deg in oklab, #e9d362 0%, #333333 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#e9d362] to-[#333333]
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="#e9d362"/><stop offset="7.14%" stop-color="#dbc760"/><stop offset="14.29%" stop-color="#ccba5d"/><stop offset="21.43%" stop-color="#beae5b"/><stop offset="28.57%" stop-color="#b0a258"/><stop offset="35.71%" stop-color="#a39655"/><stop offset="42.86%" stop-color="#958a52"/><stop offset="50%" stop-color="#887f4f"/><stop offset="57.14%" stop-color="#7b734b"/><stop offset="64.29%" stop-color="#6e6848"/><stop offset="71.43%" stop-color="#625d44"/><stop offset="78.57%" stop-color="#565240"/><stop offset="85.71%" stop-color="#4a483c"/><stop offset="92.86%" stop-color="#3e3d38"/><stop offset="100%" stop-color="#333333"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "vasily": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.914,
            0.827,
            0.384
          ],
          "hex": "#e9d362"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.2,
            0.2,
            0.2
          ],
          "hex": "#333333"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #e9d362 0%, #333333 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Vasily",
        "contrast": {
          "white": {
            "ratio": 1.504,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 1.662,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Vasily (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 Vasily gradient (#e9d362, #333333), 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