#40A64C

Closest named color: Mid Green (#50A747). oklch(64.5% 0.159 145.5), rgb(64, 166, 76).

Aa

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

About this color

#40A64C is a medium-light, vivid green. In OKLCH its lightness is 64%, its chroma 0.159 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mid Green (#50A747), ΔE 0.013 away. Black text reads best on it, at 6.77:1.

Hue familyGreens
Lightnessmedium-light (64%)
Chromavivid (0.159)
Temperaturein between
Nearest nameMid Green (#50A747)
Black text6.77:1
White text3.09:1

Values

HEX#40A64C
RGBrgb(64, 166, 76)
HSLhsl(127, 44%, 45%)
OKLCHoklch(64.5% 0.159 145.5)

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 #40A64C 3.09:1 AA large text Lc -63.0 Content text, not long reading
Black text on #40A64C 6.77:1 AA Lc 46.4 Large or bold text, headings
#40A64C text on white 3.09:1 AA large text Lc 57.6 Large or bold text, headings
#40A64C text on black 6.77:1 AA Lc -44.1 Non-text elements, placeholder text

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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C8E1C8

    oklch(88.4% 0.043 145.2)

  4. Step 300

    300

    #A1CFA2

    oklch(81% 0.079 145.3)

  5. Step 400

    400

    #6BB56F

    oklch(70.7% 0.125 145.3)

  6. Step 500

    500 (this color)

    #40A64C

    oklch(64.5% 0.159 145.5)

  7. Step 600

    600

    #008C28

    oklch(55.7% 0.172 145.6)

  8. Step 700

    700

    #007620

    oklch(49.2% 0.152 145.5)

  9. Step 800

    800

    #006119

    oklch(42.8% 0.133 145.6)

  10. Step 900

    900

    #114F1B

    oklch(37.6% 0.103 145.6)

  11. Step 950

    950

    #0D2F11

    oklch(27.2% 0.066 145.6)

Export this scale for Tailwind in the Tailwind colors tool

#40A64C 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)#A998440.122
Deuteranopia (no green cones)#9C8F530.121
Tritanopia (no blue cones)#29A2920.097
Achromatopsia (no color)#9292920.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A64C

    #40A64C

    oklch(64.5% 0.159 145.5)

  • #BD67C1

    #BD67C1

    oklch(64.4% 0.159 325.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A64C

    #40A64C

    oklch(64.5% 0.159 145.5)

  • #8B9700

    #8B9700

    oklch(64.4% 0.146 115.3)

  • #00A58A

    #00A58A

    oklch(64.5% 0.121 175.5)

Open the analogous palette in the generator

Split complementary

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

  • #40A64C

    #40A64C

    oklch(64.5% 0.159 145.5)

  • #9776E3

    #9776E3

    oklch(64.6% 0.16 295.5)

  • #D55E91

    #D55E91

    oklch(64.4% 0.159 355.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A64C

    #40A64C

    oklch(64.5% 0.159 145.5)

  • #5E88EE

    #5E88EE

    oklch(64.5% 0.16 265.4)

  • #DE6059

    #DE6059

    oklch(64.5% 0.159 25.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A64C

    #40A64C

    oklch(64.5% 0.159 145.5)

  • #0099D5

    #0099D5

    oklch(64.5% 0.138 235.4)

  • #BD67C1

    #BD67C1

    oklch(64.4% 0.159 325.6)

  • #D46E00

    #D46E00

    oklch(64.4% 0.159 55.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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