#40B784

Closest named color: Dark Seafoam (#1FB57A). oklch(70% 0.131 161.4), rgb(64, 183, 132).

Aa

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

About this color

#40B784 is a medium-light, moderately saturated green. In OKLCH its lightness is 70%, its chroma 0.131 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Seafoam (#1FB57A), ΔE 0.022 away. Black text reads best on it, at 8.32:1.

Hue familyGreens
Lightnessmedium-light (70%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameDark Seafoam (#1FB57A)
Black text8.32:1
White text2.52:1

Values

HEX#40B784
RGBrgb(64, 183, 132)
HSLhsl(154, 48%, 48%)
OKLCHoklch(70% 0.131 161.4)

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 #40B784 2.52:1 Fails Lc -54.2 Large or bold text, headings
Black text on #40B784 8.32:1 AAA Lc 54.9 Large or bold text, headings
#40B784 text on white 2.52:1 Fails Lc 49.1 Large or bold text, headings
#40B784 text on black 8.32:1 AAA Lc -52.8 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

    #DDEFE5

    oklch(93.6% 0.023 161.7)

  3. Step 200

    200

    #C0E3D0

    oklch(88.5% 0.045 161.6)

  4. Step 300

    300

    #90D1B0

    oklch(80.8% 0.081 161.8)

  5. Step 400

    400 (this color)

    #40B784

    oklch(70% 0.131 161.4)

  6. Step 500

    500

    #00A36E

    oklch(63.2% 0.14 161.4)

  7. Step 600

    600

    #00895C

    oklch(55.7% 0.123 161.5)

  8. Step 700

    700

    #00734C

    oklch(49.1% 0.109 161.2)

  9. Step 800

    800

    #005E3E

    oklch(42.6% 0.094 161.6)

  10. Step 900

    900

    #004F33

    oklch(37.8% 0.084 161.3)

  11. Step 950

    950

    #002F1D

    oklch(27% 0.059 161.7)

Export this scale for Tailwind in the Tailwind colors tool

#40B784 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)#B4AA810.124
Deuteranopia (no green cones)#A59E870.122
Tritanopia (no blue cones)#00B7A90.053
Achromatopsia (no color)#A3A3A30.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B784

    #40B784

    oklch(70% 0.131 161.4)

  • #D47CB6

    #D47CB6

    oklch(69.9% 0.13 341.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B784

    #40B784

    oklch(70% 0.131 161.4)

  • #81AF54

    #81AF54

    oklch(70% 0.131 131.2)

  • #00B5B1

    #00B5B1

    oklch(69.9% 0.12 192)

Open the analogous palette in the generator

Split complementary

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

  • #40B784

    #40B784

    oklch(70% 0.131 161.4)

  • #B986D9

    #B986D9

    oklch(70.1% 0.129 311.6)

  • #E37A8A

    #E37A8A

    oklch(70.1% 0.13 11.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B784

    #40B784

    oklch(70% 0.131 161.4)

  • #9193ED

    #9193ED

    oklch(69.9% 0.131 281.5)

  • #E2805B

    #E2805B

    oklch(70% 0.132 41.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B784

    #40B784

    oklch(70% 0.131 161.4)

  • #5CA2ED

    #5CA2ED

    oklch(69.9% 0.132 251.7)

  • #D47CB6

    #D47CB6

    oklch(69.9% 0.13 341.1)

  • #D08F33

    #D08F33

    oklch(69.9% 0.13 71.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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