#40B41E

Closest named color: Leafy Green (#51B73B). oklch(67.8% 0.207 140.1), rgb(64, 180, 30).

Aa

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

About this color

#40B41E is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.207 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leafy Green (#51B73B), ΔE 0.025 away. Black text reads best on it, at 7.76:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromavivid (0.207)
Temperaturein between
Nearest nameLeafy Green (#51B73B)
Black text7.76:1
White text2.70:1

Values

HEX#40B41E
RGBrgb(64, 180, 30)
HSLhsl(106, 71%, 41%)
OKLCHoklch(67.8% 0.207 140.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 #40B41E 2.70:1 Fails Lc -57.2 Large or bold text, headings
Black text on #40B41E 7.76:1 AAA Lc 52.1 Large or bold text, headings
#40B41E text on white 2.70:1 Fails Lc 52.0 Large or bold text, headings
#40B41E text on black 7.76:1 AAA Lc -49.9 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 400.

  1. Step 50

    50

    #F0F9EE

    oklch(97.2% 0.017 140)

  2. Step 100

    100

    #DDF0D9

    oklch(93.5% 0.037 140.2)

  3. Step 200

    200

    #C1E5B9

    oklch(88.4% 0.07 140)

  4. Step 300

    300

    #93D584

    oklch(80.9% 0.129 139.9)

  5. Step 400

    400 (this color)

    #40B41E

    oklch(67.8% 0.207 140.1)

  6. Step 500

    500

    #30A500

    oklch(63.2% 0.204 140.1)

  7. Step 600

    600

    #278A00

    oklch(55.5% 0.179 140.1)

  8. Step 700

    700

    #207500

    oklch(49.3% 0.159 140.1)

  9. Step 800

    800

    #186000

    oklch(42.8% 0.138 140.2)

  10. Step 900

    900

    #135000

    oklch(37.8% 0.122 140.1)

  11. Step 950

    950

    #083000

    oklch(27.1% 0.087 140)

Export this scale for Tailwind in the Tailwind colors tool

#40B41E 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)#B9A3000.139
Deuteranopia (no green cones)#AB9A320.138
Tritanopia (no blue cones)#2EAE990.139
Achromatopsia (no color)#9D9D9D0.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B41E

    #40B41E

    oklch(67.8% 0.207 140.1)

  • #CD64E5

    #CD64E5

    oklch(67.8% 0.206 319.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B41E

    #40B41E

    oklch(67.8% 0.207 140.1)

  • #9E9E00

    #9E9E00

    oklch(67.7% 0.148 109.8)

  • #00B28B

    #00B28B

    oklch(67.9% 0.135 169.9)

Open the analogous palette in the generator

Split complementary

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

  • #40B41E

    #40B41E

    oklch(67.8% 0.207 140.1)

  • #997EFF

    #997EFF

    oklch(67.7% 0.184 290.2)

  • #EF54A9

    #EF54A9

    oklch(67.8% 0.207 350.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B41E

    #40B41E

    oklch(67.8% 0.207 140.1)

  • #5595FF

    #5595FF

    oklch(67.8% 0.17 259.9)

  • #FD5260

    #FD5260

    oklch(67.8% 0.206 20.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B41E

    #40B41E

    oklch(67.8% 0.207 140.1)

  • #00A6DA

    #00A6DA

    oklch(67.9% 0.135 229.6)

  • #CD64E5

    #CD64E5

    oklch(67.8% 0.206 319.8)

  • #EB6F00

    #EB6F00

    oklch(67.8% 0.179 50.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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