#40C062

Closest named color: Algae Green (#21C36F). oklch(71.6% 0.174 148.6), rgb(64, 192, 98).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-light (72%)
Chromavivid (0.174)
Temperaturein between
Nearest nameAlgae Green (#21C36F)
Black text8.93:1
White text2.35:1

Values

HEX#40C062
RGBrgb(64, 192, 98)
HSLhsl(136, 50%, 50%)
OKLCHoklch(71.6% 0.174 148.6)

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 #40C062 2.35:1 Fails Lc -50.8 Large or bold text, headings
Black text on #40C062 8.93:1 AAA Lc 58.0 Large or bold text, headings
#40C062 text on white 2.35:1 Fails Lc 45.9 Large or bold text, headings
#40C062 text on black 8.93:1 AAA Lc -56.1 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

    #EFF8F0

    oklch(97% 0.014 148.8)

  2. Step 100

    100

    #DCF0DF

    oklch(93.6% 0.031 149.8)

  3. Step 200

    200

    #BFE5C4

    oklch(88.6% 0.06 148.8)

  4. Step 300

    300

    #8ED49A

    oklch(80.8% 0.108 148.9)

  5. Step 400

    400 (this color)

    #40C062

    oklch(71.6% 0.174 148.6)

  6. Step 500

    500

    #00A545

    oklch(63% 0.179 148.7)

  7. Step 600

    600

    #008B39

    oklch(55.6% 0.158 148.7)

  8. Step 700

    700

    #00752F

    oklch(49.1% 0.139 148.8)

  9. Step 800

    800

    #006025

    oklch(42.7% 0.121 148.7)

  10. Step 900

    900

    #00501E

    oklch(37.6% 0.107 148.8)

  11. Step 950

    950

    #00300F

    oklch(27% 0.076 148.8)

Export this scale for Tailwind in the Tailwind colors tool

#40C062 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)#C2B05A0.140
Deuteranopia (no green cones)#B2A5690.138
Tritanopia (no blue cones)#07BCAA0.099
Achromatopsia (no color)#A9A9A90.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #40C062

    #40C062

    oklch(71.6% 0.174 148.6)

  • #DD77D9

    #DD77D9

    oklch(71.7% 0.175 328.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40C062

    #40C062

    oklch(71.6% 0.174 148.6)

  • #9AB100

    #9AB100

    oklch(71.7% 0.168 118.6)

  • #00BEA4

    #00BEA4

    oklch(71.7% 0.132 178.2)

Open the analogous palette in the generator

Split complementary

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

  • #40C062

    #40C062

    oklch(71.6% 0.174 148.6)

  • #B388FF

    #B388FF

    oklch(71.7% 0.171 298.7)

  • #F66EA2

    #F66EA2

    oklch(71.6% 0.174 358.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40C062

    #40C062

    oklch(71.6% 0.174 148.6)

  • #7D9EFF

    #7D9EFF

    oklch(71.7% 0.146 268.4)

  • #FD7262

    #FD7262

    oklch(71.6% 0.173 28.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40C062

    #40C062

    oklch(71.6% 0.174 148.6)

  • #00AFFB

    #00AFFB

    oklch(71.6% 0.16 238.4)

  • #DD77D9

    #DD77D9

    oklch(71.7% 0.175 328.7)

  • #EF8400

    #EF8400

    oklch(71.7% 0.17 58.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #40C062.

Similar named colors

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

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