#40A939

Closest named color: Medium Green (#39AD48). oklch(65% 0.179 142.3), rgb(64, 169, 57).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-light (65%)
Chromavivid (0.179)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text6.95:1
White text3.02:1

Values

HEX#40A939
RGBrgb(64, 169, 57)
HSLhsl(116, 50%, 44%)
OKLCHoklch(65% 0.179 142.3)

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 #40A939 3.02:1 AA large text Lc -61.9 Content text, not long reading
Black text on #40A939 6.95:1 AA Lc 47.5 Large or bold text, headings
#40A939 text on white 3.02:1 AA large text Lc 56.6 Large or bold text, headings
#40A939 text on black 6.95:1 AA Lc -45.2 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

    #F1F8F0

    oklch(97.2% 0.013 141.8)

  2. Step 100

    100

    #E1EEDF

    oklch(93.5% 0.024 141.5)

  3. Step 200

    200

    #C8E2C4

    oklch(88.6% 0.049 141.4)

  4. Step 300

    300

    #A0CF9B

    oklch(80.8% 0.087 142.3)

  5. Step 400

    400

    #69B663

    oklch(70.6% 0.14 142.4)

  6. Step 500

    500 (this color)

    #40A939

    oklch(65% 0.179 142.3)

  7. Step 600

    600

    #078C00

    oklch(55.5% 0.188 142.3)

  8. Step 700

    700

    #057600

    oklch(49.1% 0.166 142.2)

  9. Step 800

    800

    #036100

    oklch(42.7% 0.145 142.3)

  10. Step 900

    900

    #0F500C

    oklch(37.7% 0.117 142.4)

  11. Step 950

    950

    #0C2F0A

    oklch(27% 0.074 142.4)

Export this scale for Tailwind in the Tailwind colors tool

#40A939 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)#AD9A2B0.127
Deuteranopia (no green cones)#A091430.127
Tritanopia (no blue cones)#2DA4920.116
Achromatopsia (no color)#9494940.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A939

    #40A939

    oklch(65% 0.179 142.3)

  • #C064CE

    #C064CE

    oklch(65% 0.178 322.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A939

    #40A939

    oklch(65% 0.179 142.3)

  • #929700

    #929700

    oklch(65% 0.144 112.1)

  • #00A887

    #00A887

    oklch(65.2% 0.126 172.1)

Open the analogous palette in the generator

Split complementary

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

  • #40A939

    #40A939

    oklch(65% 0.179 142.3)

  • #9475F1

    #9475F1

    oklch(64.9% 0.179 292.2)

  • #DD589A

    #DD589A

    oklch(65.1% 0.179 352.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A939

    #40A939

    oklch(65% 0.179 142.3)

  • #508AFB

    #508AFB

    oklch(65.1% 0.179 262.2)

  • #E8585B

    #E8585B

    oklch(65.1% 0.179 22.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A939

    #40A939

    oklch(65% 0.179 142.3)

  • #009CD2

    #009CD2

    oklch(65.1% 0.133 232.1)

  • #C064CE

    #C064CE

    oklch(65% 0.178 322.2)

  • #DB6C00

    #DB6C00

    oklch(65.1% 0.166 52.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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