#40A63F

Closest named color: Mid Green (#50A747). oklch(64.3% 0.17 143.1), rgb(64, 166, 63).

Aa

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

About this color

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

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

Values

HEX#40A63F
RGBrgb(64, 166, 63)
HSLhsl(119, 45%, 45%)
OKLCHoklch(64.3% 0.17 143.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 #40A63F 3.11:1 AA large text Lc -63.2 Content text, not long reading
Black text on #40A63F 6.74:1 AA Lc 46.3 Large or bold text, headings
#40A63F text on white 3.11:1 AA large text Lc 57.8 Large or bold text, headings
#40A63F text on black 6.74:1 AA Lc -44.0 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

    #C8E2C6

    oklch(88.6% 0.047 143.2)

  4. Step 300

    300

    #A1CF9E

    oklch(80.9% 0.083 143.2)

  5. Step 400

    400

    #6BB668

    oklch(70.8% 0.133 143.2)

  6. Step 500

    500 (this color)

    #40A63F

    oklch(64.3% 0.17 143.1)

  7. Step 600

    600

    #008C0F

    oklch(55.5% 0.185 143.2)

  8. Step 700

    700

    #00760A

    oklch(49.1% 0.164 143.1)

  9. Step 800

    800

    #006107

    oklch(42.7% 0.142 143.1)

  10. Step 900

    900

    #114F12

    oklch(37.5% 0.111 143.2)

  11. Step 950

    950

    #0D2F0D

    oklch(27.1% 0.07 143.3)

Export this scale for Tailwind in the Tailwind colors tool

#40A63F 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)#A997340.123
Deuteranopia (no green cones)#9D8F480.123
Tritanopia (no blue cones)#2DA1900.109
Achromatopsia (no color)#9292920.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A63F

    #40A63F

    oklch(64.3% 0.17 143.1)

  • #BD64C8

    #BD64C8

    oklch(64.3% 0.17 323.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A63F

    #40A63F

    oklch(64.3% 0.17 143.1)

  • #8E9500

    #8E9500

    oklch(64.2% 0.143 113.1)

  • #00A586

    #00A586

    oklch(64.4% 0.124 173)

Open the analogous palette in the generator

Split complementary

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

  • #40A63F

    #40A63F

    oklch(64.3% 0.17 143.1)

  • #9374EA

    #9374EA

    oklch(64.3% 0.171 293.1)

  • #D85996

    #D85996

    oklch(64.3% 0.171 353.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A63F

    #40A63F

    oklch(64.3% 0.17 143.1)

  • #5488F3

    #5488F3

    oklch(64.3% 0.17 263)

  • #E25A5A

    #E25A5A

    oklch(64.4% 0.17 23.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A63F

    #40A63F

    oklch(64.3% 0.17 143.1)

  • #0099D0

    #0099D0

    oklch(64.3% 0.133 233.1)

  • #BD64C8

    #BD64C8

    oklch(64.3% 0.17 323.1)

  • #D76B00

    #D76B00

    oklch(64.4% 0.163 53)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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