#40AE87

Closest named color: Greeny Blue (#42B395). oklch(67.7% 0.116 166.1), rgb(64, 174, 135).

Aa

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

About this color

#40AE87 is a medium-light, moderately saturated green. In OKLCH its lightness is 68%, its chroma 0.116 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greeny Blue (#42B395), ΔE 0.021 away. Black text reads best on it, at 7.62:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameGreeny Blue (#42B395)
Black text7.62:1
White text2.75:1

Values

HEX#40AE87
RGBrgb(64, 174, 135)
HSLhsl(159, 46%, 47%)
OKLCHoklch(67.7% 0.116 166.1)

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 #40AE87 2.75:1 Fails Lc -58.1 Large or bold text, headings
Black text on #40AE87 7.62:1 AAA Lc 51.1 Large or bold text, headings
#40AE87 text on white 2.75:1 Fails Lc 52.9 Large or bold text, headings
#40AE87 text on black 7.62:1 AAA Lc -48.9 Large or bold text, headings

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

    #F0F8F4

    oklch(97.2% 0.01 164.9)

  2. Step 100

    100

    #DEEFE7

    oklch(93.7% 0.021 166.1)

  3. Step 200

    200

    #C1E2D3

    oklch(88.5% 0.04 166.2)

  4. Step 300

    300

    #93D0B6

    oklch(80.9% 0.073 166.3)

  5. Step 400

    400 (this color)

    #40AE87

    oklch(67.7% 0.116 166.1)

  6. Step 500

    500

    #00A277

    oklch(63.2% 0.131 166)

  7. Step 600

    600

    #008864

    oklch(55.6% 0.115 166.4)

  8. Step 700

    700

    #007253

    oklch(49% 0.101 166.2)

  9. Step 800

    800

    #005E44

    oklch(42.7% 0.088 166.3)

  10. Step 900

    900

    #004E38

    oklch(37.6% 0.078 166.4)

  11. Step 950

    950

    #002F20

    oklch(27.1% 0.056 165.8)

Export this scale for Tailwind in the Tailwind colors tool

#40AE87 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)#AAA2850.115
Deuteranopia (no green cones)#9B978A0.112
Tritanopia (no blue cones)#00AEA30.042
Achromatopsia (no color)#9C9C9C0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #40AE87

    #40AE87

    oklch(67.7% 0.116 166.1)

  • #CB79A6

    #CB79A6

    oklch(67.8% 0.116 346.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40AE87

    #40AE87

    oklch(67.7% 0.116 166.1)

  • #76A85E

    #76A85E

    oklch(67.8% 0.116 136.2)

  • #00ADAF

    #00ADAF

    oklch(67.8% 0.115 196.2)

Open the analogous palette in the generator

Split complementary

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

  • #40AE87

    #40AE87

    oklch(67.7% 0.116 166.1)

  • #B380C8

    #B380C8

    oklch(67.6% 0.117 315.7)

  • #D5787F

    #D5787F

    oklch(67.7% 0.116 15.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40AE87

    #40AE87

    oklch(67.7% 0.116 166.1)

  • #928CDC

    #928CDC

    oklch(67.8% 0.117 286.3)

  • #D27F57

    #D27F57

    oklch(67.7% 0.117 45.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40AE87

    #40AE87

    oklch(67.7% 0.116 166.1)

  • #6699DE

    #6699DE

    oklch(67.6% 0.117 256.3)

  • #CB79A6

    #CB79A6

    oklch(67.8% 0.116 346.6)

  • #C08D3A

    #C08D3A

    oklch(67.8% 0.116 76.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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