#40CC97

Closest named color: Emerald (#06D6A0). oklch(75.7% 0.142 163.6), rgb(64, 204, 151).

Aa

Black text reads best on this color (10.30:1).

About this color

#40CC97 is a medium-light, vivid green. In OKLCH its lightness is 76%, its chroma 0.142 and its hue 164°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Emerald (#06D6A0), ΔE 0.028 away. Black text reads best on it, at 10.30:1.

Hue familyGreens
Lightnessmedium-light (76%)
Chromavivid (0.142)
Temperaturein between
Nearest nameEmerald (#06D6A0)
Black text10.30:1
White text2.03:1

Values

HEX#40CC97
RGBrgb(64, 204, 151)
HSLhsl(157, 58%, 53%)
OKLCHoklch(75.7% 0.142 163.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #40CC97 2.03:1 Fails Lc -43.8 Non-text elements, placeholder text
Black text on #40CC97 10.30:1 AAA Lc 64.6 Content text, not long reading
#40CC97 text on white 2.03:1 Fails Lc 39.3 Non-text elements, placeholder text
#40CC97 text on black 10.30:1 AAA Lc -63.1 Content text, not long reading

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #EFF8F3

    oklch(97.1% 0.012 162.1)

  2. Step 100

    100

    #DBF0E5

    oklch(93.7% 0.027 163.2)

  3. Step 200

    200

    #BCE4D0

    oklch(88.5% 0.05 163.6)

  4. Step 300

    300

    #89D3B1

    oklch(80.9% 0.089 163.8)

  5. Step 400

    400 (this color)

    #40CC97

    oklch(75.7% 0.142 163.6)

  6. Step 500

    500

    #00A272

    oklch(63% 0.135 163.5)

  7. Step 600

    600

    #008860

    oklch(55.5% 0.118 164)

  8. Step 700

    700

    #007350

    oklch(49.2% 0.105 163.6)

  9. Step 800

    800

    #005E41

    oklch(42.7% 0.091 163.9)

  10. Step 900

    900

    #004F35

    oklch(37.8% 0.082 162.9)

  11. Step 950

    950

    #002F1E

    oklch(27% 0.058 163)

Export this scale for Tailwind in the Tailwind colors tool

#40CC97 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#C8BD940.138
Deuteranopia (no green cones)#B6B09A0.134
Tritanopia (no blue cones)#00CCBD0.053
Achromatopsia (no color)#B6B6B60.143

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #40CC97

    #40CC97

    oklch(75.7% 0.142 163.6)

  • #EE8AC7

    #EE8AC7

    oklch(75.8% 0.141 343.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40CC97

    #40CC97

    oklch(75.7% 0.142 163.6)

  • #8BC362

    #8BC362

    oklch(75.6% 0.141 133.5)

  • #00C9C8

    #00C9C8

    oklch(75.6% 0.129 194.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #40CC97

    #40CC97

    oklch(75.7% 0.142 163.6)

  • #D094F0

    #D094F0

    oklch(75.8% 0.142 313.2)

  • #FD8895

    #FD8895

    oklch(75.8% 0.142 14)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40CC97

    #40CC97

    oklch(75.7% 0.142 163.6)

  • #A6A5FF

    #A6A5FF

    oklch(75.8% 0.128 283.4)

  • #FA9062

    #FA9062

    oklch(75.7% 0.142 43.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40CC97

    #40CC97

    oklch(75.7% 0.142 163.6)

  • #75B4FF

    #75B4FF

    oklch(75.8% 0.127 253.6)

  • #EE8AC7

    #EE8AC7

    oklch(75.8% 0.141 343.6)

  • #E6A136

    #E6A136

    oklch(75.8% 0.142 73.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #40CC97, closest first.

No curated palette has a color within ΔE 0.04 of #40CC97.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #40CC97 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.