#40B059

Closest named color: Dark Pastel Green (#56AE57). oklch(67.3% 0.161 147.8), rgb(64, 176, 89).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.161)
Temperaturein between
Nearest nameDark Pastel Green (#56AE57)
Black text7.57:1
White text2.77:1

Values

HEX#40B059
RGBrgb(64, 176, 89)
HSLhsl(133, 47%, 47%)
OKLCHoklch(67.3% 0.161 147.8)

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 #40B059 2.77:1 Fails Lc -58.4 Large or bold text, headings
Black text on #40B059 7.57:1 AAA Lc 50.9 Large or bold text, headings
#40B059 text on white 2.77:1 Fails Lc 53.1 Large or bold text, headings
#40B059 text on black 7.57:1 AAA Lc -48.7 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

    #DEF0DF

    oklch(93.7% 0.03 146.9)

  3. Step 200

    200

    #C1E4C5

    oklch(88.5% 0.056 148.3)

  4. Step 300

    300

    #94D39C

    oklch(81% 0.1 147.8)

  5. Step 400

    400 (this color)

    #40B059

    oklch(67.3% 0.161 147.8)

  6. Step 500

    500

    #00A641

    oklch(63.2% 0.184 147.9)

  7. Step 600

    600

    #008B35

    oklch(55.5% 0.161 147.8)

  8. Step 700

    700

    #00752B

    oklch(49% 0.143 147.8)

  9. Step 800

    800

    #006022

    oklch(42.6% 0.124 147.8)

  10. Step 900

    900

    #00501B

    oklch(37.6% 0.109 147.8)

  11. Step 950

    950

    #00300D

    oklch(27% 0.078 147.8)

Export this scale for Tailwind in the Tailwind colors tool

#40B059 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)#B2A1520.129
Deuteranopia (no green cones)#A4975F0.128
Tritanopia (no blue cones)#1EAC9C0.094
Achromatopsia (no color)#9B9B9B0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B059

    #40B059

    oklch(67.3% 0.161 147.8)

  • #C96EC8

    #C96EC8

    oklch(67.2% 0.161 327.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B059

    #40B059

    oklch(67.3% 0.161 147.8)

  • #8FA200

    #8FA200

    oklch(67.4% 0.156 117.8)

  • #00AE96

    #00AE96

    oklch(67.2% 0.123 178.2)

Open the analogous palette in the generator

Split complementary

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

  • #40B059

    #40B059

    oklch(67.3% 0.161 147.8)

  • #A37DEB

    #A37DEB

    oklch(67.3% 0.161 297.9)

  • #E16696

    #E16696

    oklch(67.3% 0.161 357.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B059

    #40B059

    oklch(67.3% 0.161 147.8)

  • #6B8FF8

    #6B8FF8

    oklch(67.2% 0.161 267.7)

  • #E8695C

    #E8695C

    oklch(67.3% 0.16 28)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B059

    #40B059

    oklch(67.3% 0.161 147.8)

  • #00A1E6

    #00A1E6

    oklch(67.3% 0.149 237.9)

  • #C96EC8

    #C96EC8

    oklch(67.2% 0.161 327.6)

  • #DD7802

    #DD7802

    oklch(67.3% 0.161 57.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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