#40B337

Closest named color: Leafy Green (#51B73B). oklch(67.7% 0.192 142.1), rgb(64, 179, 55).

Aa

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

About this color

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

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

Values

HEX#40B337
RGBrgb(64, 179, 55)
HSLhsl(116, 53%, 46%)
OKLCHoklch(67.7% 0.192 142.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 #40B337 2.71:1 Fails Lc -57.5 Large or bold text, headings
Black text on #40B337 7.72:1 AAA Lc 51.8 Large or bold text, headings
#40B337 text on white 2.71:1 Fails Lc 52.2 Large or bold text, headings
#40B337 text on black 7.72:1 AAA Lc -49.6 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

    #F0F8EE

    oklch(97% 0.016 139.4)

  2. Step 100

    100

    #DDF0DB

    oklch(93.5% 0.034 142.6)

  3. Step 200

    200

    #C1E5BC

    oklch(88.5% 0.067 141.7)

  4. Step 300

    300

    #93D48C

    oklch(80.8% 0.119 142.1)

  5. Step 400

    400 (this color)

    #40B337

    oklch(67.7% 0.192 142.1)

  6. Step 500

    500

    #10A700

    oklch(63.2% 0.213 142.1)

  7. Step 600

    600

    #0C8C00

    oklch(55.6% 0.187 142.1)

  8. Step 700

    700

    #087600

    oklch(49.1% 0.166 142.1)

  9. Step 800

    800

    #056100

    oklch(42.8% 0.144 142.1)

  10. Step 900

    900

    #045100

    oklch(37.8% 0.127 142.1)

  11. Step 950

    950

    #013000

    oklch(26.8% 0.091 142.2)

Export this scale for Tailwind in the Tailwind colors tool

#40B337 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)#B7A3250.135
Deuteranopia (no green cones)#A999430.135
Tritanopia (no blue cones)#2AAE9A0.124
Achromatopsia (no color)#9D9D9D0.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B337

    #40B337

    oklch(67.7% 0.192 142.1)

  • #CC68DC

    #CC68DC

    oklch(67.7% 0.191 321.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B337

    #40B337

    oklch(67.7% 0.192 142.1)

  • #9A9F00

    #9A9F00

    oklch(67.6% 0.15 112)

  • #00B18E

    #00B18E

    oklch(67.7% 0.131 171.9)

Open the analogous palette in the generator

Split complementary

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

  • #40B337

    #40B337

    oklch(67.7% 0.192 142.1)

  • #9C7CFF

    #9C7CFF

    oklch(67.7% 0.187 291.9)

  • #EB5AA3

    #EB5AA3

    oklch(67.7% 0.193 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B337

    #40B337

    oklch(67.7% 0.192 142.1)

  • #5B93FF

    #5B93FF

    oklch(67.7% 0.171 262.2)

  • #F75A5F

    #F75A5F

    oklch(67.7% 0.192 22)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B337

    #40B337

    oklch(67.7% 0.192 142.1)

  • #00A5DD

    #00A5DD

    oklch(67.8% 0.138 231.7)

  • #CC68DC

    #CC68DC

    oklch(67.7% 0.191 321.9)

  • #E77200

    #E77200

    oklch(67.7% 0.173 52.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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