#40A747

Closest named color: Mid Green (#50A747). oklch(64.7% 0.165 144.5), rgb(64, 167, 71).

Aa

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

About this color

#40A747 is a medium-light, vivid green. In OKLCH its lightness is 65%, 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.012 away. Black text reads best on it, at 6.83:1.

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

Values

HEX#40A747
RGBrgb(64, 167, 71)
HSLhsl(124, 45%, 45%)
OKLCHoklch(64.7% 0.165 144.5)

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 #40A747 3.07:1 AA large text Lc -62.6 Content text, not long reading
Black text on #40A747 6.83:1 AA Lc 46.8 Large or bold text, headings
#40A747 text on white 3.07:1 AA large text Lc 57.2 Large or bold text, headings
#40A747 text on black 6.83:1 AA Lc -44.5 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

    #6AB56C

    oklch(70.6% 0.128 144.6)

  6. Step 500

    500 (this color)

    #40A747

    oklch(64.7% 0.165 144.5)

  7. Step 600

    600

    #008C1F

    oklch(55.6% 0.178 144.4)

  8. Step 700

    700

    #007619

    oklch(49.1% 0.157 144.5)

  9. Step 800

    800

    #006113

    oklch(42.8% 0.136 144.5)

  10. Step 900

    900

    #104F17

    oklch(37.6% 0.107 144.6)

  11. Step 950

    950

    #0D2F0F

    oklch(27.1% 0.068 144.4)

Export this scale for Tailwind in the Tailwind colors tool

#40A747 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)#AA983E0.124
Deuteranopia (no green cones)#9D904E0.122
Tritanopia (no blue cones)#2AA3920.102
Achromatopsia (no color)#9393930.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A747

    #40A747

    oklch(64.7% 0.165 144.5)

  • #BE66C5

    #BE66C5

    oklch(64.6% 0.165 324.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A747

    #40A747

    oklch(64.7% 0.165 144.5)

  • #8D9700

    #8D9700

    oklch(64.6% 0.146 114.4)

  • #00A689

    #00A689

    oklch(64.7% 0.123 174.3)

Open the analogous palette in the generator

Split complementary

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

  • #40A747

    #40A747

    oklch(64.7% 0.165 144.5)

  • #9676E7

    #9676E7

    oklch(64.7% 0.165 294.4)

  • #D85C94

    #D85C94

    oklch(64.7% 0.166 354.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A747

    #40A747

    oklch(64.7% 0.165 144.5)

  • #5B89F2

    #5B89F2

    oklch(64.8% 0.165 264.5)

  • #E15E5A

    #E15E5A

    oklch(64.7% 0.165 24.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A747

    #40A747

    oklch(64.7% 0.165 144.5)

  • #009AD4

    #009AD4

    oklch(64.7% 0.136 234.3)

  • #BE66C5

    #BE66C5

    oklch(64.6% 0.165 324.5)

  • #D66E00

    #D66E00

    oklch(64.7% 0.161 54.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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