#40A254

Closest named color: Muted Green (#5FA052). oklch(63.5% 0.146 147.7), rgb(64, 162, 84).

Aa

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

About this color

#40A254 is a medium-light, vivid green. In OKLCH its lightness is 64%, its chroma 0.146 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muted Green (#5FA052), ΔE 0.026 away. Black text reads best on it, at 6.51:1.

Hue familyGreens
Lightnessmedium-light (64%)
Chromavivid (0.146)
Temperaturein between
Nearest nameMuted Green (#5FA052)
Black text6.51:1
White text3.22:1

Values

HEX#40A254
RGBrgb(64, 162, 84)
HSLhsl(132, 43%, 44%)
OKLCHoklch(63.5% 0.146 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 #40A254 3.22:1 AA large text Lc -64.6 Content text, not long reading
Black text on #40A254 6.51:1 AA Lc 44.9 Non-text elements, placeholder text
#40A254 text on white 3.22:1 AA large text Lc 59.2 Large or bold text, headings
#40A254 text on black 6.51:1 AA Lc -42.6 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C8E1CB

    oklch(88.5% 0.04 148.7)

  4. Step 300

    300

    #A2CEA7

    oklch(80.9% 0.071 147.9)

  5. Step 400

    400

    #6DB477

    oklch(70.7% 0.114 147.6)

  6. Step 500

    500 (this color)

    #40A254

    oklch(63.5% 0.146 147.7)

  7. Step 600

    600

    #0B8B36

    oklch(55.6% 0.159 147.6)

  8. Step 700

    700

    #00752B

    oklch(49% 0.143 147.8)

  9. Step 800

    800

    #046023

    oklch(42.7% 0.122 147.8)

  10. Step 900

    900

    #134F21

    oklch(37.8% 0.097 147.5)

  11. Step 950

    950

    #0E2E14

    oklch(26.9% 0.06 147.5)

Export this scale for Tailwind in the Tailwind colors tool

#40A254 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)#A4954E0.117
Deuteranopia (no green cones)#978C590.115
Tritanopia (no blue cones)#289F900.085
Achromatopsia (no color)#8F8F8F0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A254

    #40A254

    oklch(63.5% 0.146 147.7)

  • #B967B8

    #B967B8

    oklch(63.5% 0.148 327.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A254

    #40A254

    oklch(63.5% 0.146 147.7)

  • #849504

    #849504

    oklch(63.4% 0.146 117.6)

  • #00A18A

    #00A18A

    oklch(63.4% 0.117 177.7)

Open the analogous palette in the generator

Split complementary

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

  • #40A254

    #40A254

    oklch(63.5% 0.146 147.7)

  • #9675D7

    #9675D7

    oklch(63.6% 0.145 297.7)

  • #CE608B

    #CE608B

    oklch(63.5% 0.146 357.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A254

    #40A254

    oklch(63.5% 0.146 147.7)

  • #6485E3

    #6485E3

    oklch(63.6% 0.146 267.6)

  • #D56357

    #D56357

    oklch(63.6% 0.146 28)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A254

    #40A254

    oklch(63.5% 0.146 147.7)

  • #0095D5

    #0095D5

    oklch(63.6% 0.14 237.8)

  • #B967B8

    #B967B8

    oklch(63.5% 0.148 327.6)

  • #CB7015

    #CB7015

    oklch(63.6% 0.147 57.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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