Colour to colour

Sky Blue to Goldenrod gradient

Sky Blue (#87ceeb) into Goldenrod (#daa520) — 142° apart on the OKLCH hue wheel. Below: the same two stops interpolated in OKLab and in OKLCH, side by side, because the difference is real and most generators never let you see it; then an eased version and a mesh, each with the worst-case contrast for white and black text. The engine's own pick for this pair is oklch: ΔH 142° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

Sky Blue → Goldenrod
black text · worst 9.38:1 · AA
white 1.74 failsblack 9.38 AAbanding medium

OKLab and OKLCH, side by side

Aa

A straight line through the a/b plane: the two hues meet halfway and desaturate a little at the midpoint. The safe default — it is what CSS and Tailwind default to.

white 1.74 failsblack 9.38 AAbanding medium
css
linear-gradient(135deg in oklab, #87ceeb 0%, #daa520 100%)
Aa

OKLCH (shorter hue)

Open in maker →

Chroma and hue interpolate separately, so the midpoint keeps its saturation and the hue travels the short way round the wheel — richer, and it can pass through hues neither colour has.

white 1.74 failsblack 9.38 AAbanding medium
css
linear-gradient(135deg in oklch shorter hue, #87ceeb 0%, #daa520 100%)

And the sRGB line most tools draw, for comparison — the number is the chroma that survives at the dullest point.

sRGB40%
OKLab30%
OKLCH72%

Eased and mesh

Aa

Eased (soft)

Open in maker →

A cubic-bezier(.4, 0, .6, 1) mix ratio baked into 15 stops: the transition lingers on each colour and moves faster through the middle, which is what makes a gradient read as designed rather than default.

white 1.74 failsblack 9.38 AAbanding medium
css
linear-gradient(135deg in oklch shorter hue, #87ceeb 0%, #85ceea 8.28%, #7ecfe6 16.03%, #75d0df 23.35%, #6cd1d4 30.32%, #68d2c4 37.03%, #6bd1b0 43.56%, #79ce98 50%, #8cc97e 56.44%, #a1c364 62.97%, #b5bb4c 69.68%, #c5b338 76.65%, #d0ac29 83.97%, #d8a722 91.72%, #daa520 100%)
Aa

Both colours as stacked radials over a base, laid out by a seeded Poisson-disc sampler — the same seed gives the same mesh forever. Exports as CSS, SVG and PNG.

white 1.92 failsblack 9.61 AAbanding high
css
background-color: #b7bd9a;
background-image: radial-gradient(circle farthest-corner at 2.85% 18.18%, rgba(218, 165, 32, 0.867) 0%, rgba(218, 165, 32, 0) 54.37%), radial-gradient(circle farthest-corner at 22.48% 48.04%, rgba(135, 206, 235, 0.822) 0%, rgba(135, 206, 235, 0) 53.98%);
background-image: radial-gradient(circle farthest-corner at 2.85% 18.18%, oklch(from #daa520 l c h / 0.8668) 0%, rgb(from #daa520 r g b / 0) 54.37%), radial-gradient(circle farthest-corner at 22.48% 48.04%, oklch(from #87ceeb l c h / 0.8216) 0%, rgb(from #87ceeb r g b / 0) 53.98%);

Report

  • white ink: worst 1.74:1 at 3% (fails AA); black ink: worst 9.38:1 at 100% (AA) → use black text.
  • Banding medium: ~7px bands at 1440px — add grain 14 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #87ceeb 0%, #7cd0e4 7.14%, #72d1dc 14.29%, #6bd2d2 21.43%, #68d2c5 28.57%, #69d1b8 35.71%, #6fd0a8 42.86%, #79ce98 50%, #85cb87 57.14%, #93c775 64.29%, #a2c262 71.43%, #b1bc50 78.57%, #c0b53e 85.71%, #cdad2d 92.86%, #daa520 100%);
  background-image: linear-gradient(135deg in oklch shorter hue, #87ceeb 0%, #daa520 100%);
}
tailwind v4
bg-linear-to-br/oklch from-[#87ceeb] to-[#daa520]
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="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#87ceeb"/><stop offset="7.14%" stop-color="#7cd0e4"/><stop offset="14.29%" stop-color="#72d1dc"/><stop offset="21.43%" stop-color="#6bd2d2"/><stop offset="28.57%" stop-color="#68d2c5"/><stop offset="35.71%" stop-color="#69d1b8"/><stop offset="42.86%" stop-color="#6fd0a8"/><stop offset="50%" stop-color="#79ce98"/><stop offset="57.14%" stop-color="#85cb87"/><stop offset="64.29%" stop-color="#93c775"/><stop offset="71.43%" stop-color="#a2c262"/><stop offset="78.57%" stop-color="#b1bc50"/><stop offset="85.71%" stop-color="#c0b53e"/><stop offset="92.86%" stop-color="#cdad2d"/><stop offset="100%" stop-color="#daa520"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "skyblue-to-goldenrod": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.529,
            0.808,
            0.922
          ],
          "hex": "#87ceeb"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.855,
            0.647,
            0.125
          ],
          "hex": "#daa520"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklch shorter hue, #87ceeb 0%, #daa520 100%)",
        "interpolation": "oklch",
        "hue": "shorter",
        "angle": 135,
        "name": "skyblue-to-goldenrod",
        "contrast": {
          "white": {
            "ratio": 1.74,
            "at": 0.0277,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 9.384,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Sky Blue to Goldenrod, interpolated in oklch."
  }
}

More from Sky Blue

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

make a sky blue to goldenrod hero gradient in oklch that passes AA for white text, with grain if it bands

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: gradients.md