Color

#40a22a

#40a22a
hex#40a22a
rgbrgb(64, 162, 42)
hslhsl(109, 59%, 40%)
oklchoklch(0.63 0.18 140.4)
Closest name: Grass Is Greener (#3f9b0b)Relative luminance 0.271

Tints & shades

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

Harmonies

Complementary

Open in tool →

#8c2aa2

#7ca22a · #2aa250

#2a40a2 · #a22a40

Split-complementary

Open in tool →

#502aa2 · #a22a7c

#2a7ca2 · #8c2aa2 · #a2502a

Contrast

#40a22a as textRatioAAAA largeAAAFix
Aaon white
3.27:1failpassfail
  • AA: use #358623 as the text (4.58:1)
  • AAA: use #28651a as the text (7.08:1)
  • AA: or shift the background to #262626 (4.63:1)
Aaon black
6.42:1passpassfail
  • AAA: use #43aa2c as the text (7.02:1)

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

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

mcpConnect your agent — build around #40a22a
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 #40a22a and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/40a22a-a4bea2-7e4edf-1f2d23-eef1e9?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