#40B102

Closest named color: Leaf Green (#5CA904). oklch(66.9% 0.21 139), rgb(64, 177, 2).

Aa

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

About this color

#40B102 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.210 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leaf Green (#5CA904), ΔE 0.029 away. Black text reads best on it, at 7.50:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.210)
Temperaturein between
Nearest nameLeaf Green (#5CA904)
Black text7.50:1
White text2.79:1

Values

HEX#40B102
RGBrgb(64, 177, 2)
HSLhsl(99, 98%, 35%)
OKLCHoklch(66.9% 0.21 139)

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 #40B102 2.79:1 Fails Lc -58.6 Large or bold text, headings
Black text on #40B102 7.50:1 AAA Lc 50.7 Large or bold text, headings
#40B102 text on white 2.79:1 Fails Lc 53.3 Large or bold text, headings
#40B102 text on black 7.50:1 AAA Lc -48.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

    #F1F8EF

    oklch(97.1% 0.014 138.7)

  2. Step 100

    100

    #E0EFDC

    oklch(93.6% 0.03 139.1)

  3. Step 200

    200

    #C6E3BF

    oklch(88.5% 0.057 139.6)

  4. Step 300

    300

    #9ED191

    oklch(80.9% 0.103 139.4)

  5. Step 400

    400

    #66B84D

    oklch(70.7% 0.164 139)

  6. Step 500

    500 (this color)

    #40B102

    oklch(66.9% 0.21 139)

  7. Step 600

    600

    #308A00

    oklch(55.7% 0.176 139)

  8. Step 700

    700

    #277400

    oklch(49.2% 0.155 139)

  9. Step 800

    800

    #1E5F00

    oklch(42.7% 0.135 139.1)

  10. Step 900

    900

    #184F00

    oklch(37.6% 0.119 139)

  11. Step 950

    950

    #0B2F00

    oklch(26.9% 0.085 139)

Export this scale for Tailwind in the Tailwind colors tool

#40B102 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)#B6A0000.140
Deuteranopia (no green cones)#A997250.138
Tritanopia (no blue cones)#31AB960.144
Achromatopsia (no color)#9A9A9A0.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B102

    #40B102

    oklch(66.9% 0.21 139)

  • #CA60E5

    #CA60E5

    oklch(66.9% 0.211 319)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B102

    #40B102

    oklch(66.9% 0.21 139)

  • #9D9B00

    #9D9B00

    oklch(66.9% 0.145 108.8)

  • #00AF87

    #00AF87

    oklch(67% 0.134 169)

Open the analogous palette in the generator

Split complementary

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

  • #40B102

    #40B102

    oklch(66.9% 0.21 139)

  • #947BFF

    #947BFF

    oklch(66.8% 0.188 289)

  • #EC4FA9

    #EC4FA9

    oklch(66.8% 0.211 349)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B102

    #40B102

    oklch(66.9% 0.21 139)

  • #4D92FF

    #4D92FF

    oklch(66.9% 0.176 259.2)

  • #FB4C5F

    #FB4C5F

    oklch(66.8% 0.21 19)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B102

    #40B102

    oklch(66.9% 0.21 139)

  • #00A3D5

    #00A3D5

    oklch(66.9% 0.132 229)

  • #CA60E5

    #CA60E5

    oklch(66.9% 0.211 319)

  • #E86B00

    #E86B00

    oklch(66.8% 0.179 49.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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