#40B259

Closest named color: Dark Pastel Green (#56AE57). oklch(67.8% 0.164 147.7), rgb(64, 178, 89).

Aa

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

About this color

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

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

Values

HEX#40B259
RGBrgb(64, 178, 89)
HSLhsl(133, 47%, 47%)
OKLCHoklch(67.8% 0.164 147.7)

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 #40B259 2.71:1 Fails Lc -57.5 Large or bold text, headings
Black text on #40B259 7.73:1 AAA Lc 51.8 Large or bold text, headings
#40B259 text on white 2.71:1 Fails Lc 52.3 Large or bold text, headings
#40B259 text on black 7.73: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

    #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

    #93D39B

    oklch(80.9% 0.102 147.7)

  5. Step 400

    400 (this color)

    #40B259

    oklch(67.8% 0.164 147.7)

  6. Step 500

    500

    #00A640

    oklch(63.2% 0.184 147.7)

  7. Step 600

    600

    #008B34

    oklch(55.5% 0.162 147.6)

  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

#40B259 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)#B4A3520.130
Deuteranopia (no green cones)#A6995F0.129
Tritanopia (no blue cones)#1DAE9D0.095
Achromatopsia (no color)#9D9D9D0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B259

    #40B259

    oklch(67.8% 0.164 147.7)

  • #CC6FCB

    #CC6FCB

    oklch(67.9% 0.164 327.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B259

    #40B259

    oklch(67.8% 0.164 147.7)

  • #91A300

    #91A300

    oklch(67.8% 0.157 117.4)

  • #00B097

    #00B097

    oklch(67.7% 0.125 177.7)

Open the analogous palette in the generator

Split complementary

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

  • #40B259

    #40B259

    oklch(67.8% 0.164 147.7)

  • #A57EEE

    #A57EEE

    oklch(67.8% 0.163 298)

  • #E46698

    #E46698

    oklch(67.8% 0.164 357.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B259

    #40B259

    oklch(67.8% 0.164 147.7)

  • #6C91FC

    #6C91FC

    oklch(67.9% 0.163 267.6)

  • #EB695D

    #EB695D

    oklch(67.7% 0.163 27.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B259

    #40B259

    oklch(67.8% 0.164 147.7)

  • #00A3E8

    #00A3E8

    oklch(67.9% 0.149 237.6)

  • #CC6FCB

    #CC6FCB

    oklch(67.9% 0.164 327.6)

  • #E07900

    #E07900

    oklch(67.8% 0.163 57.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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