Named gradient · uiGradients

Selenium

Selenium is a yellow gradient from uiGradients (MIT) — #3c3b3f → #605c3c 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
white text · worst 6.79:1 · AA
white 6.79 AAblack 1.89 failsbanding 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.

sRGB5%
OKLab5%
OKLCH25%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #3c3b3f 0%, #3e3d3f 7.14%, #41403f 14.29%, #43423f 21.43%, #46443f 28.57%, #48473f 35.71%, #4b493f 42.86%, #4e4b3f 50%, #504e3e 57.14%, #53503e 64.29%, #55523e 71.43%, #58553d 78.57%, #5b573d 85.71%, #5d5a3d 92.86%, #605c3c 100%);
  background-image: linear-gradient(90deg in oklab, #3c3b3f 0%, #605c3c 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#3c3b3f] to-[#605c3c]
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="#3c3b3f"/><stop offset="7.14%" stop-color="#3e3d3f"/><stop offset="14.29%" stop-color="#41403f"/><stop offset="21.43%" stop-color="#43423f"/><stop offset="28.57%" stop-color="#46443f"/><stop offset="35.71%" stop-color="#48473f"/><stop offset="42.86%" stop-color="#4b493f"/><stop offset="50%" stop-color="#4e4b3f"/><stop offset="57.14%" stop-color="#504e3e"/><stop offset="64.29%" stop-color="#53503e"/><stop offset="71.43%" stop-color="#55523e"/><stop offset="78.57%" stop-color="#58553d"/><stop offset="85.71%" stop-color="#5b573d"/><stop offset="92.86%" stop-color="#5d5a3d"/><stop offset="100%" stop-color="#605c3c"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "selenium": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.235,
            0.231,
            0.247
          ],
          "hex": "#3c3b3f"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.376,
            0.361,
            0.235
          ],
          "hex": "#605c3c"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #3c3b3f 0%, #605c3c 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Selenium",
        "contrast": {
          "white": {
            "ratio": 6.789,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.889,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Selenium (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 Selenium gradient (#3c3b3f, #605c3c), 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