Color

#f2ef40

#f2ef40
hex#f2ef40
rgbrgb(242, 239, 64)
hslhsl(59, 87%, 60%)
oklchoklch(0.926 0.183 108.5)
Closest name: Buttercup Glow (#f1f458)Relative luminance 0.8098

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#4043f2

#f29640 · #9cf240

#40f2ef · #ef40f2

Split-complementary

Open in tool →

#409cf2 · #9640f2

#40f296 · #4043f2 · #f2409c

Contrast

#f2ef40 as textRatioAAAA largeAAAFix
Aaon white
1.22:1failfailfail
  • AA: use #7c7a09 as the text (4.52:1)
  • AAA: use #5b5906 as the text (7.3:1)
  • AA: or shift the background to #666666 (4.7:1)
  • AAA: or shift the background to #4a4a4a (7.26:1)
Aaon black
17.2:1passpasspassPasses AAA — no fix needed.

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #f2ef40 as the background.

Brands using this color

Fonts for this mood

#f2ef40 reads as warm, vivid, playful. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #f2ef40
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #f2ef40 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/f2ef40-bbbea2-4e96df-272d1f-f1ede9?lock=0&style=vibrant

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

Machine-readable: color.md