#40B157

Closest named color: Dark Pastel Green (#56AE57). oklch(67.5% 0.164 147.3), rgb(64, 177, 87).

Aa

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

About this color

#40B157 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.164 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Pastel Green (#56AE57), ΔE 0.017 away. Black text reads best on it, at 7.64:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromavivid (0.164)
Temperaturein between
Nearest nameDark Pastel Green (#56AE57)
Black text7.64:1
White text2.74:1

Values

HEX#40B157
RGBrgb(64, 177, 87)
HSLhsl(132, 47%, 47%)
OKLCHoklch(67.5% 0.164 147.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 #40B157 2.74:1 Fails Lc -58.0 Large or bold text, headings
Black text on #40B157 7.64:1 AAA Lc 51.3 Large or bold text, headings
#40B157 text on white 2.74:1 Fails Lc 52.7 Large or bold text, headings
#40B157 text on black 7.64:1 AAA Lc -49.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

    #F0F8F0

    oklch(97.1% 0.014 145.5)

  2. Step 100

    100

    #DDF0DF

    oklch(93.6% 0.03 148.4)

  3. Step 200

    200

    #C1E4C4

    oklch(88.5% 0.057 147.4)

  4. Step 300

    300

    #93D39A

    oklch(80.9% 0.103 147.3)

  5. Step 400

    400 (this color)

    #40B157

    oklch(67.5% 0.164 147.3)

  6. Step 500

    500

    #00A63D

    oklch(63.2% 0.187 147.2)

  7. Step 600

    600

    #008B32

    oklch(55.5% 0.164 147.3)

  8. Step 700

    700

    #007529

    oklch(49% 0.144 147.3)

  9. Step 800

    800

    #006020

    oklch(42.6% 0.126 147.3)

  10. Step 900

    900

    #00501A

    oklch(37.6% 0.11 147.5)

  11. Step 950

    950

    #00300C

    oklch(26.9% 0.079 147.3)

Export this scale for Tailwind in the Tailwind colors tool

#40B157 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)#B3A24F0.129
Deuteranopia (no green cones)#A5985D0.128
Tritanopia (no blue cones)#1FAD9C0.096
Achromatopsia (no color)#9C9C9C0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B157

    #40B157

    oklch(67.5% 0.164 147.3)

  • #CB6ECA

    #CB6ECA

    oklch(67.6% 0.164 327.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B157

    #40B157

    oklch(67.5% 0.164 147.3)

  • #90A200

    #90A200

    oklch(67.4% 0.156 117.4)

  • #00AF96

    #00AF96

    oklch(67.4% 0.124 177.6)

Open the analogous palette in the generator

Split complementary

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

  • #40B157

    #40B157

    oklch(67.5% 0.164 147.3)

  • #A37DEE

    #A37DEE

    oklch(67.5% 0.164 297.3)

  • #E36598

    #E36598

    oklch(67.5% 0.165 357.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B157

    #40B157

    oklch(67.5% 0.164 147.3)

  • #6A90FB

    #6A90FB

    oklch(67.6% 0.164 267.2)

  • #EB685D

    #EB685D

    oklch(67.6% 0.165 27.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B157

    #40B157

    oklch(67.5% 0.164 147.3)

  • #00A2E6

    #00A2E6

    oklch(67.5% 0.148 237.3)

  • #CB6ECA

    #CB6ECA

    oklch(67.6% 0.164 327.6)

  • #DF7800

    #DF7800

    oklch(67.5% 0.163 57.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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