#40B620

Closest named color: Leafy Green (#51B73B). oklch(68.3% 0.208 140.3), rgb(64, 182, 32).

Aa

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

About this color

#40B620 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.208 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.023 away. Black text reads best on it, at 7.93:1.

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

Values

HEX#40B620
RGBrgb(64, 182, 32)
HSLhsl(107, 70%, 42%)
OKLCHoklch(68.3% 0.208 140.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 #40B620 2.64:1 Fails Lc -56.2 Large or bold text, headings
Black text on #40B620 7.93:1 AAA Lc 53.0 Large or bold text, headings
#40B620 text on white 2.64:1 Fails Lc 51.1 Large or bold text, headings
#40B620 text on black 7.93:1 AAA Lc -50.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

    #DDF1D9

    oklch(93.7% 0.038 140.5)

  3. Step 200

    200

    #C0E6B9

    oklch(88.6% 0.073 140.7)

  4. Step 300

    300

    #92D584

    oklch(80.8% 0.13 140.2)

  5. Step 400

    400 (this color)

    #40B620

    oklch(68.3% 0.208 140.3)

  6. Step 500

    500

    #2FA500

    oklch(63.2% 0.204 140.2)

  7. Step 600

    600

    #268B00

    oklch(55.7% 0.18 140.3)

  8. Step 700

    700

    #1E7500

    oklch(49.2% 0.159 140.3)

  9. Step 800

    800

    #176000

    oklch(42.8% 0.139 140.3)

  10. Step 900

    900

    #125000

    oklch(37.7% 0.122 140.2)

  11. Step 950

    950

    #073000

    oklch(27% 0.088 140.4)

Export this scale for Tailwind in the Tailwind colors tool

#40B620 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)#BBA5000.140
Deuteranopia (no green cones)#AD9B330.141
Tritanopia (no blue cones)#2DB09B0.139
Achromatopsia (no color)#9F9F9F0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B620

    #40B620

    oklch(68.3% 0.208 140.3)

  • #D065E7

    #D065E7

    oklch(68.4% 0.208 320.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B620

    #40B620

    oklch(68.3% 0.208 140.3)

  • #9FA000

    #9FA000

    oklch(68.2% 0.149 110.2)

  • #00B38D

    #00B38D

    oklch(68.2% 0.134 170.5)

Open the analogous palette in the generator

Split complementary

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

  • #40B620

    #40B620

    oklch(68.3% 0.208 140.3)

  • #9B81FF

    #9B81FF

    oklch(68.4% 0.18 290.3)

  • #F155AA

    #F155AA

    oklch(68.2% 0.208 350.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B620

    #40B620

    oklch(68.3% 0.208 140.3)

  • #5997FF

    #5997FF

    oklch(68.4% 0.167 260.1)

  • #FF5461

    #FF5461

    oklch(68.3% 0.206 20.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B620

    #40B620

    oklch(68.3% 0.208 140.3)

  • #00A7DD

    #00A7DD

    oklch(68.3% 0.137 230.4)

  • #D065E7

    #D065E7

    oklch(68.4% 0.208 320.2)

  • #ED7000

    #ED7000

    oklch(68.3% 0.18 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 #40B620, closest first.

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

Similar named colors

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

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