#40C38A

Closest named color: Greenblue (#23C48B). oklch(73.2% 0.141 160.6), rgb(64, 195, 138).

Aa

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

About this color

#40C38A is a medium-light, vivid green. In OKLCH its lightness is 73%, its chroma 0.141 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenblue (#23C48B), ΔE 0.011 away. Black text reads best on it, at 9.39:1.

Hue familyGreens
Lightnessmedium-light (73%)
Chromavivid (0.141)
Temperaturein between
Nearest nameGreenblue (#23C48B)
Black text9.39:1
White text2.23:1

Values

HEX#40C38A
RGBrgb(64, 195, 138)
HSLhsl(154, 52%, 51%)
OKLCHoklch(73.2% 0.141 160.6)

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 #40C38A 2.23:1 Fails Lc -48.5 Large or bold text, headings
Black text on #40C38A 9.39:1 AAA Lc 60.3 Content text, not long reading
#40C38A text on white 2.23:1 Fails Lc 43.7 Non-text elements, placeholder text
#40C38A text on black 9.39:1 AAA Lc -58.5 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

    #EFF8F3

    oklch(97.1% 0.012 162.1)

  2. Step 100

    100

    #DCEFE4

    oklch(93.5% 0.025 160.6)

  3. Step 200

    200

    #BEE4CE

    oklch(88.6% 0.05 159.8)

  4. Step 300

    300

    #8CD3AE

    oklch(81% 0.089 160.8)

  5. Step 400

    400 (this color)

    #40C38A

    oklch(73.2% 0.141 160.6)

  6. Step 500

    500

    #00A36C

    oklch(63.2% 0.142 160.5)

  7. Step 600

    600

    #00895A

    oklch(55.6% 0.125 160.5)

  8. Step 700

    700

    #00734B

    oklch(49% 0.11 160.6)

  9. Step 800

    800

    #005E3D

    oklch(42.6% 0.095 160.9)

  10. Step 900

    900

    #004F32

    oklch(37.7% 0.085 160.4)

  11. Step 950

    950

    #002F1C

    oklch(26.9% 0.06 160.5)

Export this scale for Tailwind in the Tailwind colors tool

#40C38A 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)#C0B5870.133
Deuteranopia (no green cones)#AFA88E0.131
Tritanopia (no blue cones)#00C2B40.060
Achromatopsia (no color)#ADADAD0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #40C38A

    #40C38A

    oklch(73.2% 0.141 160.6)

  • #E383C3

    #E383C3

    oklch(73.3% 0.141 340.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40C38A

    #40C38A

    oklch(73.2% 0.141 160.6)

  • #89BA55

    #89BA55

    oklch(73.2% 0.142 130.7)

  • #00C1BB

    #00C1BB

    oklch(73.2% 0.126 190.8)

Open the analogous palette in the generator

Split complementary

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

  • #40C38A

    #40C38A

    oklch(73.2% 0.141 160.6)

  • #C48DEA

    #C48DEA

    oklch(73.1% 0.142 310.5)

  • #F28093

    #F28093

    oklch(73.2% 0.14 10.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40C38A

    #40C38A

    oklch(73.2% 0.141 160.6)

  • #989CFF

    #989CFF

    oklch(73.1% 0.142 280.5)

  • #F28760

    #F28760

    oklch(73.2% 0.141 40.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40C38A

    #40C38A

    oklch(73.2% 0.141 160.6)

  • #5DADFD

    #5DADFD

    oklch(73.1% 0.141 250.3)

  • #E383C3

    #E383C3

    oklch(73.3% 0.141 340.8)

  • #E09730

    #E09730

    oklch(73.3% 0.142 70.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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