#40BF31

Closest named color: Frog Green (#58BC08). oklch(70.8% 0.21 141.6), rgb(64, 191, 49).

Aa

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

About this color

#40BF31 is a medium-light, vivid green. In OKLCH its lightness is 71%, its chroma 0.210 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Frog Green (#58BC08), ΔE 0.018 away. Black text reads best on it, at 8.71:1.

Hue familyGreens
Lightnessmedium-light (71%)
Chromavivid (0.210)
Temperaturein between
Nearest nameFrog Green (#58BC08)
Black text8.71:1
White text2.40:1

Values

HEX#40BF31
RGBrgb(64, 191, 49)
HSLhsl(114, 59%, 47%)
OKLCHoklch(70.8% 0.21 141.6)

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 #40BF31 2.40:1 Fails Lc -51.9 Large or bold text, headings
Black text on #40BF31 8.71:1 AAA Lc 57.0 Large or bold text, headings
#40BF31 text on white 2.40:1 Fails Lc 47.0 Large or bold text, headings
#40BF31 text on black 8.71:1 AAA Lc -55.1 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

    #EFF9EE

    oklch(97.2% 0.018 142.8)

  2. Step 100

    100

    #DCF1D9

    oklch(93.6% 0.039 141.7)

  3. Step 200

    200

    #BFE6B9

    oklch(88.5% 0.073 141.4)

  4. Step 300

    300

    #8FD686

    oklch(80.9% 0.131 141.7)

  5. Step 400

    400 (this color)

    #40BF31

    oklch(70.8% 0.21 141.6)

  6. Step 500

    500

    #1BA600

    oklch(63.1% 0.21 141.6)

  7. Step 600

    600

    #158C00

    oklch(55.7% 0.186 141.6)

  8. Step 700

    700

    #107600

    oklch(49.2% 0.164 141.6)

  9. Step 800

    800

    #0B6100

    oklch(42.8% 0.143 141.7)

  10. Step 900

    900

    #085100

    oklch(37.8% 0.126 141.6)

  11. Step 950

    950

    #033000

    oklch(26.9% 0.09 141.6)

Export this scale for Tailwind in the Tailwind colors tool

#40BF31 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)#C4AD140.146
Deuteranopia (no green cones)#B5A3400.146
Tritanopia (no blue cones)#25B9A40.138
Achromatopsia (no color)#A7A7A70.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #40BF31

    #40BF31

    oklch(70.8% 0.21 141.6)

  • #DA6BED

    #DA6BED

    oklch(70.7% 0.21 321.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40BF31

    #40BF31

    oklch(70.8% 0.21 141.6)

  • #A5A900

    #A5A900

    oklch(70.8% 0.156 111.5)

  • #00BC96

    #00BC96

    oklch(70.8% 0.138 171.4)

Open the analogous palette in the generator

Split complementary

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

  • #40BF31

    #40BF31

    oklch(70.8% 0.21 141.6)

  • #A48AFF

    #A48AFF

    oklch(70.7% 0.167 291.8)

  • #FC5CAF

    #FC5CAF

    oklch(70.8% 0.21 351.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40BF31

    #40BF31

    oklch(70.8% 0.21 141.6)

  • #6A9FFF

    #6A9FFF

    oklch(70.8% 0.152 261.4)

  • #FF686C

    #FF686C

    oklch(70.8% 0.184 21.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40BF31

    #40BF31

    oklch(70.8% 0.21 141.6)

  • #00AFEA

    #00AFEA

    oklch(70.8% 0.144 231.6)

  • #DA6BED

    #DA6BED

    oklch(70.7% 0.21 321.6)

  • #F67800

    #F67800

    oklch(70.7% 0.183 51.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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