#40B258

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

Aa

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

About this color

#40B258 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.018 away. Black text reads best on it, at 7.72:1.

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

Values

HEX#40B258
RGBrgb(64, 178, 88)
HSLhsl(133, 47%, 47%)
OKLCHoklch(67.8% 0.164 147.5)

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

    #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)

    #40B258

    oklch(67.8% 0.164 147.5)

  6. Step 500

    500

    #00A63E

    oklch(63.2% 0.186 147.4)

  7. Step 600

    600

    #008B33

    oklch(55.5% 0.163 147.4)

  8. Step 700

    700

    #00752A

    oklch(49% 0.144 147.5)

  9. Step 800

    800

    #006021

    oklch(42.6% 0.125 147.5)

  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

#40B258 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)#B4A3500.130
Deuteranopia (no green cones)#A6995E0.129
Tritanopia (no blue cones)#1EAE9D0.096
Achromatopsia (no color)#9D9D9D0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B258

    #40B258

    oklch(67.8% 0.164 147.5)

  • #CC6FCB

    #CC6FCB

    oklch(67.9% 0.164 327.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B258

    #40B258

    oklch(67.8% 0.164 147.5)

  • #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°).

  • #40B258

    #40B258

    oklch(67.8% 0.164 147.5)

  • #A47EEF

    #A47EEF

    oklch(67.8% 0.164 297.3)

  • #E46698

    #E46698

    oklch(67.8% 0.164 357.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B258

    #40B258

    oklch(67.8% 0.164 147.5)

  • #6B91FC

    #6B91FC

    oklch(67.9% 0.164 267.3)

  • #EC695D

    #EC695D

    oklch(67.9% 0.165 27.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B258

    #40B258

    oklch(67.8% 0.164 147.5)

  • #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 #40B258, closest first.

Similar named colors

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

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