#40A336

Closest named color: Mid Green (#50A747). oklch(63.4% 0.173 141.8), rgb(64, 163, 54).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-light (63%)
Chromavivid (0.173)
Temperaturein between
Nearest nameMid Green (#50A747)
Black text6.51:1
White text3.22:1

Values

HEX#40A336
RGBrgb(64, 163, 54)
HSLhsl(114, 50%, 43%)
OKLCHoklch(63.4% 0.173 141.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 #40A336 3.22:1 AA large text Lc -64.5 Content text, not long reading
Black text on #40A336 6.51:1 AA Lc 44.9 Non-text elements, placeholder text
#40A336 text on white 3.22:1 AA large text Lc 59.1 Large or bold text, headings
#40A336 text on black 6.51:1 AA Lc -42.6 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

    #F1F7F0

    oklch(97% 0.011 141.3)

  2. Step 100

    100

    #E1EEDF

    oklch(93.5% 0.024 141.5)

  3. Step 200

    200

    #C8E2C5

    oklch(88.6% 0.048 142.3)

  4. Step 300

    300

    #A2CF9C

    oklch(80.9% 0.085 141.7)

  5. Step 400

    400

    #6DB664

    oklch(70.8% 0.136 141.6)

  6. Step 500

    500 (this color)

    #40A336

    oklch(63.4% 0.173 141.8)

  7. Step 600

    600

    #128C00

    oklch(55.6% 0.186 141.8)

  8. Step 700

    700

    #0D7600

    oklch(49.2% 0.165 141.8)

  9. Step 800

    800

    #096100

    oklch(42.8% 0.143 141.8)

  10. Step 900

    900

    #144F0E

    oklch(37.6% 0.112 141.8)

  11. Step 950

    950

    #0E2F0B

    oklch(27.1% 0.072 142)

Export this scale for Tailwind in the Tailwind colors tool

#40A336 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)#A794280.122
Deuteranopia (no green cones)#9B8C400.123
Tritanopia (no blue cones)#309E8D0.114
Achromatopsia (no color)#8F8F8F0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A336

    #40A336

    oklch(63.4% 0.173 141.8)

  • #B961C8

    #B961C8

    oklch(63.4% 0.173 321.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A336

    #40A336

    oklch(63.4% 0.173 141.8)

  • #8D9200

    #8D9200

    oklch(63.4% 0.141 112.2)

  • #00A281

    #00A281

    oklch(63.4% 0.124 171.5)

Open the analogous palette in the generator

Split complementary

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

  • #40A336

    #40A336

    oklch(63.4% 0.173 141.8)

  • #8E72E9

    #8E72E9

    oklch(63.4% 0.173 291.5)

  • #D55596

    #D55596

    oklch(63.4% 0.174 351.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A336

    #40A336

    oklch(63.4% 0.173 141.8)

  • #4C86F2

    #4C86F2

    oklch(63.5% 0.173 261.6)

  • #E05559

    #E05559

    oklch(63.4% 0.174 21.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A336

    #40A336

    oklch(63.4% 0.173 141.8)

  • #0097CA

    #0097CA

    oklch(63.5% 0.129 231.4)

  • #B961C8

    #B961C8

    oklch(63.4% 0.173 321.6)

  • #D46700

    #D46700

    oklch(63.3% 0.163 51.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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