#40C877

Closest named color: Dark Mint (#48C072). oklch(74% 0.165 153), rgb(64, 200, 119).

Aa

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

About this color

#40C877 is a medium-light, vivid green. In OKLCH its lightness is 74%, its chroma 0.165 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Mint (#48C072), ΔE 0.022 away. Black text reads best on it, at 9.74:1.

Hue familyGreens
Lightnessmedium-light (74%)
Chromavivid (0.165)
Temperaturein between
Nearest nameDark Mint (#48C072)
Black text9.74:1
White text2.15:1

Values

HEX#40C877
RGBrgb(64, 200, 119)
HSLhsl(144, 55%, 52%)
OKLCHoklch(74% 0.165 153)

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 #40C877 2.15:1 Fails Lc -46.6 Large or bold text, headings
Black text on #40C877 9.74:1 AAA Lc 62.0 Content text, not long reading
#40C877 text on white 2.15:1 Fails Lc 41.9 Non-text elements, placeholder text
#40C877 text on black 9.74:1 AAA Lc -60.3 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

    #EFF8F1

    oklch(97% 0.013 152.6)

  2. Step 100

    100

    #DCF0E1

    oklch(93.6% 0.029 153.3)

  3. Step 200

    200

    #BDE5C8

    oklch(88.5% 0.058 153.6)

  4. Step 300

    300

    #8BD4A1

    oklch(80.8% 0.103 153.2)

  5. Step 400

    400 (this color)

    #40C877

    oklch(74% 0.165 153)

  6. Step 500

    500

    #00A457

    oklch(63% 0.162 153)

  7. Step 600

    600

    #008A48

    oklch(55.5% 0.143 153)

  8. Step 700

    700

    #00743C

    oklch(49% 0.126 153.1)

  9. Step 800

    800

    #005F30

    oklch(42.6% 0.109 153.1)

  10. Step 900

    900

    #005027

    oklch(37.8% 0.098 152.9)

  11. Step 950

    950

    #003015

    oklch(27.1% 0.07 152.9)

Export this scale for Tailwind in the Tailwind colors tool

#40C877 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)#C8B8710.143
Deuteranopia (no green cones)#B7AC7C0.140
Tritanopia (no blue cones)#00C5B40.086
Achromatopsia (no color)#B1B1B10.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #40C877

    #40C877

    oklch(74% 0.165 153)

  • #E780D7

    #E780D7

    oklch(74.1% 0.165 333.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40C877

    #40C877

    oklch(74% 0.165 153)

  • #98BB2E

    #98BB2E

    oklch(74.1% 0.165 123)

  • #00C5B3

    #00C5B3

    oklch(74% 0.131 183.4)

Open the analogous palette in the generator

Split complementary

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

  • #40C877

    #40C877

    oklch(74% 0.165 153)

  • #C08EFF

    #C08EFF

    oklch(73.9% 0.165 303)

  • #FD79A1

    #FD79A1

    oklch(74% 0.165 2.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40C877

    #40C877

    oklch(74% 0.165 153)

  • #8FA4FF

    #8FA4FF

    oklch(74% 0.134 272.9)

  • #FF8066

    #FF8066

    oklch(74% 0.16 32.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40C877

    #40C877

    oklch(74% 0.165 153)

  • #49B4FF

    #49B4FF

    oklch(74.1% 0.146 243)

  • #E780D7

    #E780D7

    oklch(74.1% 0.165 333.1)

  • #F29012

    #F29012

    oklch(74.1% 0.165 63.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40C877 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.