#40AC2F

Closest named color: Medium Green (#39AD48). oklch(65.8% 0.189 141.2), rgb(64, 172, 47).

Aa

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

About this color

#40AC2F is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.189 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.020 away. Black text reads best on it, at 7.16:1.

Hue familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.189)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text7.16:1
White text2.93:1

Values

HEX#40AC2F
RGBrgb(64, 172, 47)
HSLhsl(112, 57%, 43%)
OKLCHoklch(65.8% 0.189 141.2)

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 #40AC2F 2.93:1 Fails Lc -60.7 Content text, not long reading
Black text on #40AC2F 7.16:1 AAA Lc 48.7 Large or bold text, headings
#40AC2F text on white 2.93:1 Fails Lc 55.3 Large or bold text, headings
#40AC2F text on black 7.16:1 AAA Lc -46.5 Large or bold text, headings

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

    #F1F8F0

    oklch(97.2% 0.013 141.8)

  2. Step 100

    100

    #E0EFDE

    oklch(93.6% 0.028 142)

  3. Step 200

    200

    #C7E2C3

    oklch(88.5% 0.051 141.6)

  4. Step 300

    300

    #A0D098

    oklch(80.9% 0.092 141)

  5. Step 400

    400

    #68B75C

    oklch(70.7% 0.148 141.1)

  6. Step 500

    500 (this color)

    #40AC2F

    oklch(65.8% 0.189 141.2)

  7. Step 600

    600

    #1C8B00

    oklch(55.5% 0.183 141.2)

  8. Step 700

    700

    #167500

    oklch(49% 0.162 141.2)

  9. Step 800

    800

    #106000

    oklch(42.6% 0.141 141.2)

  10. Step 900

    900

    #0D5001

    oklch(37.6% 0.123 141.1)

  11. Step 950

    950

    #0B2F06

    oklch(26.9% 0.078 141.2)

Export this scale for Tailwind in the Tailwind colors tool

#40AC2F 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)#B09C190.130
Deuteranopia (no green cones)#A3933C0.131
Tritanopia (no blue cones)#2EA7940.125
Achromatopsia (no color)#9797970.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #40AC2F

    #40AC2F

    oklch(65.8% 0.189 141.2)

  • #C463D6

    #C463D6

    oklch(65.8% 0.189 321.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40AC2F

    #40AC2F

    oklch(65.8% 0.189 141.2)

  • #969900

    #969900

    oklch(65.8% 0.145 111.2)

  • #00AA87

    #00AA87

    oklch(65.7% 0.128 171.2)

Open the analogous palette in the generator

Split complementary

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

  • #40AC2F

    #40AC2F

    oklch(65.8% 0.189 141.2)

  • #9576FA

    #9576FA

    oklch(65.8% 0.189 291.1)

  • #E2569F

    #E2569F

    oklch(65.7% 0.189 351.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40AC2F

    #40AC2F

    oklch(65.8% 0.189 141.2)

  • #4D8DFF

    #4D8DFF

    oklch(65.8% 0.182 261)

  • #EF555D

    #EF555D

    oklch(65.8% 0.189 21)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40AC2F

    #40AC2F

    oklch(65.8% 0.189 141.2)

  • #009FD3

    #009FD3

    oklch(65.8% 0.132 230.6)

  • #C463D6

    #C463D6

    oklch(65.8% 0.189 321.2)

  • #E06C00

    #E06C00

    oklch(65.8% 0.171 51.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #40AC2F.

Similar named colors

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

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