Named gradient · uiGradients

Lithium

Lithium is a yellow gradient from uiGradients (MIT) — #6d6027 → #d3cbb8 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 3.35:1 · AA large
white 1.61 failsblack 3.35 AA largebanding 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.

sRGB52%
OKLab52%
OKLCH52%

Report

  • white ink: worst 1.61:1 at 100% (fails AA); black ink: worst 3.35:1 at 0% (AA-large only) → use black text.
  • Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
  • Banding medium: ~10px bands at 1440px — add grain 21 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #6d6027 0%, #746732 7.14%, #7b6f3d 14.29%, #827647 21.43%, #897d51 28.57%, #90855b 35.71%, #978c65 42.86%, #9e946f 50%, #a69c7a 57.14%, #ada484 64.29%, #b5ab8e 71.43%, #bcb398 78.57%, #c4bba3 85.71%, #cbc3ad 92.86%, #d3cbb8 100%);
  background-image: linear-gradient(90deg in oklab, #6d6027 0%, #d3cbb8 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#6d6027] to-[#d3cbb8]
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="#6d6027"/><stop offset="7.14%" stop-color="#746732"/><stop offset="14.29%" stop-color="#7b6f3d"/><stop offset="21.43%" stop-color="#827647"/><stop offset="28.57%" stop-color="#897d51"/><stop offset="35.71%" stop-color="#90855b"/><stop offset="42.86%" stop-color="#978c65"/><stop offset="50%" stop-color="#9e946f"/><stop offset="57.14%" stop-color="#a69c7a"/><stop offset="64.29%" stop-color="#ada484"/><stop offset="71.43%" stop-color="#b5ab8e"/><stop offset="78.57%" stop-color="#bcb398"/><stop offset="85.71%" stop-color="#c4bba3"/><stop offset="92.86%" stop-color="#cbc3ad"/><stop offset="100%" stop-color="#d3cbb8"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "lithium": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.427,
            0.376,
            0.153
          ],
          "hex": "#6d6027"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.827,
            0.796,
            0.722
          ],
          "hex": "#d3cbb8"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #6d6027 0%, #d3cbb8 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Lithium",
        "contrast": {
          "white": {
            "ratio": 1.615,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.353,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Lithium (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 Lithium gradient (#6d6027, #d3cbb8), 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