CColorWell
Get ColorWell

ColorWell · contrast check

White or black text on #10b981?

Tailwind emerald-500

Use black text. It gives 8.28:1, which passes AAA (and AA).

White text
2.54:1
fails AA
Black text
8.28:1
passes AAA (and AA)

What the thresholds mean

LevelNeedsWhite textBlack text
AA, normal text4.5:1failpass
AA, large text (18pt+/14pt bold)3:1failpass
AAA, normal text7:1failpass

If you need the other one to pass

Same hue, moved along the lightness ramp until the ratio clears AA.

The colour itself

Shade ramp

#c0ffe2 #9ff3ca #75dcad #3abf8b #009c63 #007a4b #005a33 #003c1e #00200a

Paste this into your config

// tailwind.config.js
colors: {
  brand: {
    100: "#c0ffe2",
    200: "#9ff3ca",
    300: "#75dcad",
    400: "#3abf8b",
    500: "#009c63",
    600: "#007a4b",
    700: "#005a33",
    800: "#003c1e",
    900: "#00200a",
  },
}

Text colour to pair with the 500 shade (#009c63): black, at 5.94:1. For #10b981 itself it is black, at 8.28:1.

Your own colours, the same way

Paste any hex and get this page for it live — ratio, verdict, ramp. Export the whole palette to CSS variables, a Tailwind config or Figma tokens when you want it in the project rather than on the screen.

Open ColorWell

Other colours