# Royal Blue to Forest Green gradient

Royal Blue (#4169e1) to Forest Green (#228b22), interpolated perceptually. The engine's pick for this pair is oklab.

- Page: https://brandsweets.com/gradients/royalblue-to-forestgreen
- Colors: https://brandsweets.com/colors/royalblue, https://brandsweets.com/colors/forestgreen
- Reverse: https://brandsweets.com/gradients/forestgreen-to-royalblue

## OKLab

- CSS: `linear-gradient(135deg in oklab, #4169e1 0%, #228b22 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#4169e1] to-[#228b22]`
- Contrast (worst point): white 4.37:1 AA-large · black 4.32:1 AA-large · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.4169e1-228b22?a=135

## OKLCH (shorter hue)

- CSS: `linear-gradient(135deg in oklch shorter hue, #4169e1 0%, #228b22 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#4169e1] to-[#228b22]`
- Contrast (worst point): white 4.21:1 AA-large · black 4.33:1 AA-large · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.4169e1-228b22?a=135&in=oklch&hue=shorter

## Eased (soft)

- CSS: `linear-gradient(135deg in oklab, #4169e1 0%, #406adf 8.28%, #3e6dd8 16.03%, #3a71ce 23.35%, #3575c1 30.32%, #307ab2 37.03%, #2b7ea2 43.56%, #278190 50%, #23847e 56.44%, #21876b 62.97%, #208858 69.68%, #208a47 76.65%, #218a36 83.97%, #228b28 91.72%, #228b22 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklab,#4169e1_0%,#406adf_8.28%,#3e6dd8_16.03%,#3a71ce_23.35%,#3575c1_30.32%,#307ab2_37.03%,#2b7ea2_43.56%,#278190_50%,#23847e_56.44%,#21876b_62.97%,#208858_69.68%,#208a47_76.65%,#218a36_83.97%,#228b28_91.72%,#228b22_100%)]`
- Contrast (worst point): white 4.37:1 AA-large · black 4.32:1 AA-large · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.4169e1-228b22?a=135&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 75.94% 13.46%, oklch(from #4169e1 l c h / 0.7383) 0%, rgb(from #4169e1 r g b / 0) 52.42%), radial-gradient(circle farthest-corner at 31.03% 45.72%, oklch(from #228b22 l c h / 0.8762) 0%, rgb(from #228b22 r g b / 0) 45.28%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_75.94%_13.46%,oklch(from_#4169e1_l_c_h_/_0.7383)_0%,rgb(from_#4169e1_r_g_b_/_0)_52.42%),radial-gradient(circle_farthest-corner_at_31.03%_45.72%,oklch(from_#228b22_l_c_h_/_0.8762)_0%,rgb(from_#228b22_r_g_b_/_0)_45.28%)]`
- Contrast (worst point): white 4.52:1 AA · black 4.43:1 AA-large · banding low
- Maker: https://brandsweets.com/gradients/new/v1.4169e1-228b22?k=mesh&seed=royalblue-to-forestgreen

## Gradient maker

Every maker URL is the gradient's state: `/gradients/new/v1.<hex>-<hex>[_pos]?a=135&in=oklch&hue=shorter&e=soft&g=8`. Hand one to a human, let them refine, and read the link they return.

## Connect an agent

Point any MCP client at the BrandSweets gradients endpoint for the same engine and corpus:

- Endpoint: https://mcp.brandsweets.com/gradients/mcp
- Tools: `make_gradient` (2–5 colours → CSS with the interpolation space, Tailwind v4, SVG, PNG URL, DTCG token + the contrast/banding/gamut report), `brand_gradients` (brand slug or palette → brand gradient, hero, button, variants).
- Resource: `gradients://corpus` — the whole bundled corpus as JSON.
