#40BE42

Closest named color: Shamrock Green (#02C14D). oklch(70.7% 0.198 143.3), rgb(64, 190, 66).

Aa

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

About this color

#40BE42 is a medium-light, vivid green. In OKLCH its lightness is 71%, its chroma 0.198 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock Green (#02C14D), ΔE 0.018 away. Black text reads best on it, at 8.66:1.

Hue familyGreens
Lightnessmedium-light (71%)
Chromavivid (0.198)
Temperaturein between
Nearest nameShamrock Green (#02C14D)
Black text8.66:1
White text2.42:1

Values

HEX#40BE42
RGBrgb(64, 190, 66)
HSLhsl(121, 50%, 50%)
OKLCHoklch(70.7% 0.198 143.3)

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 #40BE42 2.42:1 Fails Lc -52.3 Large or bold text, headings
Black text on #40BE42 8.66:1 AAA Lc 56.7 Large or bold text, headings
#40BE42 text on white 2.42:1 Fails Lc 47.3 Large or bold text, headings
#40BE42 text on black 8.66:1 AAA Lc -54.8 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

    #DCF1DB

    oklch(93.7% 0.037 144)

  3. Step 200

    200

    #BFE5BC

    oklch(88.4% 0.068 143)

  4. Step 300

    300

    #8FD58C

    oklch(80.8% 0.123 143.4)

  5. Step 400

    400 (this color)

    #40BE42

    oklch(70.7% 0.198 143.3)

  6. Step 500

    500

    #00A718

    oklch(63.2% 0.209 143.4)

  7. Step 600

    600

    #008C12

    oklch(55.5% 0.184 143.3)

  8. Step 700

    700

    #00760D

    oklch(49.1% 0.163 143.3)

  9. Step 800

    800

    #006109

    oklch(42.7% 0.141 143.3)

  10. Step 900

    900

    #005106

    oklch(37.7% 0.125 143.3)

  11. Step 950

    950

    #003102

    oklch(27.2% 0.09 143.2)

Export this scale for Tailwind in the Tailwind colors tool

#40BE42 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)#C2AD320.143
Deuteranopia (no green cones)#B3A24D0.144
Tritanopia (no blue cones)#21B9A40.124
Achromatopsia (no color)#A6A6A60.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #40BE42

    #40BE42

    oklch(70.7% 0.198 143.3)

  • #D96EE6

    #D96EE6

    oklch(70.6% 0.198 323.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40BE42

    #40BE42

    oklch(70.7% 0.198 143.3)

  • #A1AA00

    #A1AA00

    oklch(70.7% 0.158 113.5)

  • #00BB99

    #00BB99

    oklch(70.6% 0.135 173.4)

Open the analogous palette in the generator

Split complementary

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

  • #40BE42

    #40BE42

    oklch(70.7% 0.198 143.3)

  • #A788FF

    #A788FF

    oklch(70.7% 0.17 293.6)

  • #F961AA

    #F961AA

    oklch(70.7% 0.198 353.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40BE42

    #40BE42

    oklch(70.7% 0.198 143.3)

  • #6E9DFF

    #6E9DFF

    oklch(70.6% 0.153 263.6)

  • #FF6867

    #FF6867

    oklch(70.7% 0.185 23.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40BE42

    #40BE42

    oklch(70.7% 0.198 143.3)

  • #00AEED

    #00AEED

    oklch(70.7% 0.147 233.5)

  • #D96EE6

    #D96EE6

    oklch(70.6% 0.198 323.2)

  • #F37A00

    #F37A00

    oklch(70.6% 0.179 53.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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