Named gradient · uiGradients

Citrus Peel

Citrus Peel is a yellow gradient from uiGradients (MIT) — #fdc830 → #f37335 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 7.32:1 · AA
white 1.56 failsblack 7.32 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.

sRGB92%
OKLab92%
OKLCH97%

Report

  • white ink: worst 1.56:1 at 0% (fails AA); black ink: worst 7.32:1 at 100% (AA) → use black text.
  • Banding high: ~17px bands at 1440px — add grain 35 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #fdc830 0%, #fdc231 7.14%, #fcbc31 14.29%, #fcb732 21.43%, #fcb133 28.57%, #fbab33 35.71%, #faa534 42.86%, #fa9f34 50%, #f99934 57.14%, #f89335 64.29%, #f78d35 71.43%, #f68635 78.57%, #f58035 85.71%, #f47a35 92.86%, #f37335 100%);
  background-image: linear-gradient(90deg in oklab, #fdc830 0%, #f37335 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#fdc830] to-[#f37335]
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="#fdc830"/><stop offset="7.14%" stop-color="#fdc231"/><stop offset="14.29%" stop-color="#fcbc31"/><stop offset="21.43%" stop-color="#fcb732"/><stop offset="28.57%" stop-color="#fcb133"/><stop offset="35.71%" stop-color="#fbab33"/><stop offset="42.86%" stop-color="#faa534"/><stop offset="50%" stop-color="#fa9f34"/><stop offset="57.14%" stop-color="#f99934"/><stop offset="64.29%" stop-color="#f89335"/><stop offset="71.43%" stop-color="#f78d35"/><stop offset="78.57%" stop-color="#f68635"/><stop offset="85.71%" stop-color="#f58035"/><stop offset="92.86%" stop-color="#f47a35"/><stop offset="100%" stop-color="#f37335"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "citrus-peel": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.992,
            0.784,
            0.188
          ],
          "hex": "#fdc830"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.953,
            0.451,
            0.208
          ],
          "hex": "#f37335"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #fdc830 0%, #f37335 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Citrus Peel",
        "contrast": {
          "white": {
            "ratio": 1.558,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.315,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Citrus Peel (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 Citrus Peel gradient (#fdc830, #f37335), 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