#40AE4F

Closest named color: Medium Green (#39AD48). oklch(66.6% 0.167 145.8), rgb(64, 174, 79).

Aa

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

About this color

#40AE4F is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.167 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.009 away. Black text reads best on it, at 7.38:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.167)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text7.38:1
White text2.84:1

Values

HEX#40AE4F
RGBrgb(64, 174, 79)
HSLhsl(128, 46%, 47%)
OKLCHoklch(66.6% 0.167 145.8)

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 #40AE4F 2.84:1 Fails Lc -59.4 Large or bold text, headings
Black text on #40AE4F 7.38:1 AAA Lc 49.9 Large or bold text, headings
#40AE4F text on white 2.84:1 Fails Lc 54.1 Large or bold text, headings
#40AE4F text on black 7.38:1 AAA Lc -47.7 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 500.

  1. Step 50

    50

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E0EEE1

    oklch(93.5% 0.023 147.4)

  3. Step 200

    200

    #C7E2C8

    oklch(88.6% 0.045 146.2)

  4. Step 300

    300

    #9FCFA1

    oklch(80.8% 0.081 145.8)

  5. Step 400

    400

    #67B66D

    oklch(70.7% 0.131 145.7)

  6. Step 500

    500 (this color)

    #40AE4F

    oklch(66.6% 0.167 145.8)

  7. Step 600

    600

    #008C2A

    oklch(55.7% 0.171 145.8)

  8. Step 700

    700

    #007622

    oklch(49.2% 0.151 145.8)

  9. Step 800

    800

    #00611A

    oklch(42.9% 0.132 145.8)

  10. Step 900

    900

    #0A5018

    oklch(37.8% 0.109 145.7)

  11. Step 950

    950

    #0A2F0F

    oklch(27% 0.07 145.6)

Export this scale for Tailwind in the Tailwind colors tool

#40AE4F 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)#B19F460.129
Deuteranopia (no green cones)#A395560.128
Tritanopia (no blue cones)#24AA990.101
Achromatopsia (no color)#9999990.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #40AE4F

    #40AE4F

    oklch(66.6% 0.167 145.8)

  • #C76BCB

    #C76BCB

    oklch(66.7% 0.168 325.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40AE4F

    #40AE4F

    oklch(66.6% 0.167 145.8)

  • #919E00

    #919E00

    oklch(66.6% 0.152 115.5)

  • #00AC91

    #00AC91

    oklch(66.5% 0.124 176.1)

Open the analogous palette in the generator

Split complementary

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

  • #40AE4F

    #40AE4F

    oklch(66.6% 0.167 145.8)

  • #9E7BEE

    #9E7BEE

    oklch(66.7% 0.167 295.6)

  • #E06198

    #E06198

    oklch(66.6% 0.168 355.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40AE4F

    #40AE4F

    oklch(66.6% 0.167 145.8)

  • #638EFA

    #638EFA

    oklch(66.7% 0.167 265.7)

  • #E9635C

    #E9635C

    oklch(66.6% 0.168 25.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40AE4F

    #40AE4F

    oklch(66.6% 0.167 145.8)

  • #00A0DF

    #00A0DF

    oklch(66.7% 0.143 235.6)

  • #C76BCB

    #C76BCB

    oklch(66.7% 0.168 325.7)

  • #DD7400

    #DD7400

    oklch(66.6% 0.163 55.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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