Named gradient · uiGradients

Sun on the Horizon

Sun on the Horizon is a yellow gradient from uiGradients (MIT) — #fceabb → #f8b500 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 11.60:1 · AA
white 1.19 failsblack 11.60 AAbanding 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.

sRGB55%
OKLab55%
OKLCH55%

Report

  • white ink: worst 1.19:1 at 0% (fails AA); black ink: worst 11.60:1 at 100% (AA) → use black text.
  • 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, #fceabb 0%, #fce6b2 7.14%, #fce3a9 14.29%, #fcdfa0 21.43%, #fbdb97 28.57%, #fbd88d 35.71%, #fbd484 42.86%, #fbd07a 50%, #facc6f 57.14%, #fac964 64.29%, #fac558 71.43%, #f9c14b 78.57%, #f9bd3c 85.71%, #f8b929 92.86%, #f8b500 100%);
  background-image: linear-gradient(90deg in oklab, #fceabb 0%, #f8b500 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#fceabb] to-[#f8b500]
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="#fceabb"/><stop offset="7.14%" stop-color="#fce6b2"/><stop offset="14.29%" stop-color="#fce3a9"/><stop offset="21.43%" stop-color="#fcdfa0"/><stop offset="28.57%" stop-color="#fbdb97"/><stop offset="35.71%" stop-color="#fbd88d"/><stop offset="42.86%" stop-color="#fbd484"/><stop offset="50%" stop-color="#fbd07a"/><stop offset="57.14%" stop-color="#facc6f"/><stop offset="64.29%" stop-color="#fac964"/><stop offset="71.43%" stop-color="#fac558"/><stop offset="78.57%" stop-color="#f9c14b"/><stop offset="85.71%" stop-color="#f9bd3c"/><stop offset="92.86%" stop-color="#f8b929"/><stop offset="100%" stop-color="#f8b500"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "sun-on-the-horizon": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.988,
            0.918,
            0.733
          ],
          "hex": "#fceabb"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.973,
            0.71,
            0
          ],
          "hex": "#f8b500"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #fceabb 0%, #f8b500 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Sun on the Horizon",
        "contrast": {
          "white": {
            "ratio": 1.191,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 11.601,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Sun on the Horizon (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 Sun on the Horizon gradient (#fceabb, #f8b500), 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