#40A145

Closest named color: Mid Green (#50A747). oklch(63% 0.159 144.3), rgb(64, 161, 69).

Aa

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

About this color

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

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

Values

HEX#40A145
RGBrgb(64, 161, 69)
HSLhsl(123, 43%, 44%)
OKLCHoklch(63% 0.159 144.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 #40A145 3.28:1 AA large text Lc -65.2 Content text, not long reading
Black text on #40A145 6.40:1 AA Lc 44.3 Non-text elements, placeholder text
#40A145 text on white 3.28:1 AA large text Lc 59.8 Large or bold text, headings
#40A145 text on black 6.40:1 AA Lc -41.9 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

    #C9E1C8

    oklch(88.5% 0.042 144.1)

  4. Step 300

    300

    #A2CEA1

    oklch(80.8% 0.078 144.3)

  5. Step 400

    400

    #6DB56E

    oklch(70.8% 0.125 144.4)

  6. Step 500

    500 (this color)

    #40A145

    oklch(63% 0.159 144.3)

  7. Step 600

    600

    #118B23

    oklch(55.5% 0.172 144.3)

  8. Step 700

    700

    #007617

    oklch(49.1% 0.158 144.3)

  9. Step 800

    800

    #086015

    oklch(42.6% 0.132 144.3)

  10. Step 900

    900

    #154F19

    oklch(37.7% 0.103 144.2)

  11. Step 950

    950

    #0E2E10

    oklch(26.9% 0.065 144.6)

Export this scale for Tailwind in the Tailwind colors tool

#40A145 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)#A4933C0.118
Deuteranopia (no green cones)#988B4C0.117
Tritanopia (no blue cones)#2D9D8D0.099
Achromatopsia (no color)#8E8E8E0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A145

    #40A145

    oklch(63% 0.159 144.3)

  • #B763BE

    #B763BE

    oklch(63% 0.159 324.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A145

    #40A145

    oklch(63% 0.159 144.3)

  • #899200

    #899200

    oklch(63.1% 0.142 114.1)

  • #00A084

    #00A084

    oklch(63% 0.119 174.3)

Open the analogous palette in the generator

Split complementary

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

  • #40A145

    #40A145

    oklch(63% 0.159 144.3)

  • #9072DE

    #9072DE

    oklch(62.9% 0.159 294.2)

  • #D05A8F

    #D05A8F

    oklch(63.1% 0.159 354.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A145

    #40A145

    oklch(63% 0.159 144.3)

  • #5784E8

    #5784E8

    oklch(63% 0.159 264.1)

  • #D85B58

    #D85B58

    oklch(63% 0.158 24.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A145

    #40A145

    oklch(63% 0.159 144.3)

  • #0095CD

    #0095CD

    oklch(63.1% 0.132 234.2)

  • #B763BE

    #B763BE

    oklch(63% 0.159 324.4)

  • #D06900

    #D06900

    oklch(63.1% 0.158 53.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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