#40A645

Closest named color: Mid Green (#50A747). oklch(64.4% 0.165 144.1), rgb(64, 166, 69).

Aa

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

About this color

#40A645 is a medium-light, vivid green. In OKLCH its lightness is 64%, its chroma 0.165 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.013 away. Black text reads best on it, at 6.75:1.

Hue familyGreens
Lightnessmedium-light (64%)
Chromavivid (0.165)
Temperaturein between
Nearest nameMid Green (#50A747)
Black text6.75:1
White text3.10:1

Values

HEX#40A645
RGBrgb(64, 166, 69)
HSLhsl(123, 44%, 45%)
OKLCHoklch(64.4% 0.165 144.1)

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 #40A645 3.10:1 AA large text Lc -63.1 Content text, not long reading
Black text on #40A645 6.75:1 AA Lc 46.4 Large or bold text, headings
#40A645 text on white 3.10:1 AA large text Lc 57.7 Large or bold text, headings
#40A645 text on black 6.75:1 AA Lc -44.1 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

    #E1EEE0

    oklch(93.6% 0.023 143.4)

  3. Step 200

    200

    #C8E1C7

    oklch(88.4% 0.044 144.2)

  4. Step 300

    300

    #A1CFA0

    oklch(80.9% 0.081 144.3)

  5. Step 400

    400

    #6BB56B

    oklch(70.6% 0.129 144.1)

  6. Step 500

    500 (this color)

    #40A645

    oklch(64.4% 0.165 144.1)

  7. Step 600

    600

    #008C1C

    oklch(55.6% 0.179 144.1)

  8. Step 700

    700

    #007616

    oklch(49.1% 0.159 144.1)

  9. Step 800

    800

    #006110

    oklch(42.8% 0.138 144.1)

  10. Step 900

    900

    #114F16

    oklch(37.6% 0.108 144.1)

  11. Step 950

    950

    #0D2F0E

    oklch(27.1% 0.069 143.8)

Export this scale for Tailwind in the Tailwind colors tool

#40A645 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)#A9973B0.123
Deuteranopia (no green cones)#9C8F4D0.122
Tritanopia (no blue cones)#2BA2910.103
Achromatopsia (no color)#9292920.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A645

    #40A645

    oklch(64.4% 0.165 144.1)

  • #BD65C5

    #BD65C5

    oklch(64.3% 0.166 324.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A645

    #40A645

    oklch(64.4% 0.165 144.1)

  • #8D9600

    #8D9600

    oklch(64.4% 0.145 114)

  • #00A588

    #00A588

    oklch(64.4% 0.122 174.2)

Open the analogous palette in the generator

Split complementary

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

  • #40A645

    #40A645

    oklch(64.4% 0.165 144.1)

  • #9575E6

    #9575E6

    oklch(64.4% 0.165 294.4)

  • #D75B94

    #D75B94

    oklch(64.4% 0.166 354.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A645

    #40A645

    oklch(64.4% 0.165 144.1)

  • #5988F1

    #5988F1

    oklch(64.4% 0.165 264.2)

  • #E05C5A

    #E05C5A

    oklch(64.3% 0.166 23.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A645

    #40A645

    oklch(64.4% 0.165 144.1)

  • #0099D2

    #0099D2

    oklch(64.4% 0.135 234)

  • #BD65C5

    #BD65C5

    oklch(64.3% 0.166 324.1)

  • #D66C00

    #D66C00

    oklch(64.4% 0.162 53.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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