#40C56D

Closest named color: Algae Green (#21C36F). oklch(73.1% 0.17 150.8), rgb(64, 197, 109).

Aa

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

About this color

#40C56D is a medium-light, vivid green. In OKLCH its lightness is 73%, its chroma 0.170 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Algae Green (#21C36F), ΔE 0.015 away. Black text reads best on it, at 9.42:1.

Hue familyGreens
Lightnessmedium-light (73%)
Chromavivid (0.170)
Temperaturein between
Nearest nameAlgae Green (#21C36F)
Black text9.42:1
White text2.22:1

Values

HEX#40C56D
RGBrgb(64, 197, 109)
HSLhsl(140, 53%, 51%)
OKLCHoklch(73.1% 0.17 150.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 #40C56D 2.22:1 Fails Lc -48.2 Large or bold text, headings
Black text on #40C56D 9.42:1 AAA Lc 60.5 Content text, not long reading
#40C56D text on white 2.22:1 Fails Lc 43.5 Non-text elements, placeholder text
#40C56D text on black 9.42:1 AAA Lc -58.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 400.

  1. Step 50

    50

    #EFF8F1

    oklch(97% 0.013 152.6)

  2. Step 100

    100

    #DCF0E0

    oklch(93.6% 0.03 151.5)

  3. Step 200

    200

    #BEE5C5

    oklch(88.5% 0.06 150.3)

  4. Step 300

    300

    #8CD49D

    oklch(80.8% 0.106 150.9)

  5. Step 400

    400 (this color)

    #40C56D

    oklch(73.1% 0.17 150.8)

  6. Step 500

    500

    #00A54F

    oklch(63.2% 0.171 150.8)

  7. Step 600

    600

    #008B41

    oklch(55.7% 0.151 150.7)

  8. Step 700

    700

    #007536

    oklch(49.2% 0.133 150.8)

  9. Step 800

    800

    #00602B

    oklch(42.8% 0.116 150.8)

  10. Step 900

    900

    #005023

    oklch(37.7% 0.102 150.9)

  11. Step 950

    950

    #003012

    oklch(27% 0.073 150.7)

Export this scale for Tailwind in the Tailwind colors tool

#40C56D 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)#C6B5660.142
Deuteranopia (no green cones)#B5A9730.140
Tritanopia (no blue cones)#00C2B00.092
Achromatopsia (no color)#AEAEAE0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #40C56D

    #40C56D

    oklch(73.1% 0.17 150.8)

  • #E37CD9

    #E37CD9

    oklch(73.1% 0.17 330.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40C56D

    #40C56D

    oklch(73.1% 0.17 150.8)

  • #99B715

    #99B715

    oklch(73.1% 0.171 120.9)

  • #00C2AC

    #00C2AC

    oklch(73% 0.132 180.8)

Open the analogous palette in the generator

Split complementary

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

  • #40C56D

    #40C56D

    oklch(73.1% 0.17 150.8)

  • #BA8CFF

    #BA8CFF

    oklch(73% 0.166 300.8)

  • #FB74A2

    #FB74A2

    oklch(73.1% 0.17 0.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40C56D

    #40C56D

    oklch(73.1% 0.17 150.8)

  • #88A2FF

    #88A2FF

    oklch(73.2% 0.138 270.8)

  • #FF7A65

    #FF7A65

    oklch(73.1% 0.166 30.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40C56D

    #40C56D

    oklch(73.1% 0.17 150.8)

  • #30B2FF

    #30B2FF

    oklch(73% 0.155 240.8)

  • #E37CD9

    #E37CD9

    oklch(73.1% 0.17 330.8)

  • #F38A00

    #F38A00

    oklch(73.2% 0.17 60.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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