# Khaki to Brown gradient

Khaki (#f0e68c) to Brown (#a52a2a), interpolated perceptually. The engine's pick for this pair is oklab.

- Page: https://brandsweets.com/gradients/khaki-to-brown
- Colors: https://brandsweets.com/colors/khaki, https://brandsweets.com/colors/brown
- Reverse: https://brandsweets.com/gradients/brown-to-khaki

## OKLab

- CSS: `linear-gradient(135deg in oklab, #f0e68c 0%, #a52a2a 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#f0e68c] to-[#a52a2a]`
- Contrast (worst point): white 1.28:1 fail · black 2.96:1 fail · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.f0e68c-a52a2a?a=135

## OKLCH (shorter hue)

- CSS: `linear-gradient(135deg in oklch shorter hue, #f0e68c 0%, #a52a2a 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#f0e68c] to-[#a52a2a]`
- Contrast (worst point): white 1.28:1 fail · black 2.96:1 fail · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.f0e68c-a52a2a?a=135&in=oklch&hue=shorter

## Eased (soft)

- CSS: `linear-gradient(135deg in oklab, #f0e68c 0%, #efe38a 8.28%, #eddc86 16.03%, #ead080 23.35%, #e5c277 30.32%, #dfb16e 37.03%, #d89f63 43.56%, #d08b59 50%, #c8784f 56.44%, #c06645 62.97%, #b7543c 69.68%, #b04435 76.65%, #aa372f 83.97%, #a62e2b 91.72%, #a52a2a 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklab,#f0e68c_0%,#efe38a_8.28%,#eddc86_16.03%,#ead080_23.35%,#e5c277_30.32%,#dfb16e_37.03%,#d89f63_43.56%,#d08b59_50%,#c8784f_56.44%,#c06645_62.97%,#b7543c_69.68%,#b04435_76.65%,#aa372f_83.97%,#a62e2b_91.72%,#a52a2a_100%)]`
- Contrast (worst point): white 1.28:1 fail · black 2.96:1 fail · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.f0e68c-a52a2a?a=135&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 26.43% 85.86%, oklch(from #a52a2a l c h / 0.7281) 0%, rgb(from #a52a2a r g b / 0) 56.89%), radial-gradient(circle farthest-corner at 58.57% 20.76%, oklch(from #f0e68c l c h / 0.7657) 0%, rgb(from #f0e68c r g b / 0) 58.29%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_26.43%_85.86%,oklch(from_#a52a2a_l_c_h_/_0.7281)_0%,rgb(from_#a52a2a_r_g_b_/_0)_56.89%),radial-gradient(circle_farthest-corner_at_58.57%_20.76%,oklch(from_#f0e68c_l_c_h_/_0.7657)_0%,rgb(from_#f0e68c_r_g_b_/_0)_58.29%)]`
- Contrast (worst point): white 2.22:1 fail · black 6.49:1 AA · banding low
- Maker: https://brandsweets.com/gradients/new/v1.f0e68c-a52a2a?k=mesh&seed=khaki-to-brown

## 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.
