#40A072

Closest named color: Ocean Green (#3D9973). oklch(63.6% 0.115 159.6), rgb(64, 160, 114).

Aa

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

About this color

#40A072 is a medium-light, moderately saturated green. In OKLCH its lightness is 64%, its chroma 0.115 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Ocean Green (#3D9973), ΔE 0.022 away. Black text reads best on it, at 6.48:1.

Hue familyGreens
Lightnessmedium-light (64%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameOcean Green (#3D9973)
Black text6.48:1
White text3.23:1

Values

HEX#40A072
RGBrgb(64, 160, 114)
HSLhsl(151, 43%, 44%)
OKLCHoklch(63.6% 0.115 159.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 #40A072 3.23:1 AA large text Lc -64.8 Content text, not long reading
Black text on #40A072 6.48:1 AA Lc 44.7 Non-text elements, placeholder text
#40A072 text on white 3.23:1 AA large text Lc 59.4 Large or bold text, headings
#40A072 text on black 6.48:1 AA Lc -42.4 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

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E1EDE6

    oklch(93.5% 0.016 160.6)

  3. Step 200

    200

    #C9E0D2

    oklch(88.6% 0.031 159)

  4. Step 300

    300

    #A2CCB4

    oklch(80.8% 0.056 159.8)

  5. Step 400

    400

    #6DB28D

    oklch(70.7% 0.089 159.5)

  6. Step 500

    500 (this color)

    #40A072

    oklch(63.6% 0.115 159.6)

  7. Step 600

    600

    #088959

    oklch(55.7% 0.125 159.7)

  8. Step 700

    700

    #007349

    oklch(49% 0.112 159.4)

  9. Step 800

    800

    #035E3C

    oklch(42.6% 0.095 160)

  10. Step 900

    900

    #134D33

    oklch(37.6% 0.074 159.7)

  11. Step 950

    950

    #0E2D1E

    oklch(26.9% 0.047 159.7)

Export this scale for Tailwind in the Tailwind colors tool

#40A072 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)#9E956F0.107
Deuteranopia (no green cones)#918B750.105
Tritanopia (no blue cones)#159F940.051
Achromatopsia (no color)#8F8F8F0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A072

    #40A072

    oklch(63.6% 0.115 159.6)

  • #B86EA1

    #B86EA1

    oklch(63.5% 0.114 339.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A072

    #40A072

    oklch(63.6% 0.115 159.6)

  • #74994A

    #74994A

    oklch(63.7% 0.115 129.9)

  • #00A099

    #00A099

    oklch(63.6% 0.11 189.3)

Open the analogous palette in the generator

Split complementary

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

  • #40A072

    #40A072

    oklch(63.6% 0.115 159.6)

  • #A077BF

    #A077BF

    oklch(63.7% 0.114 309.6)

  • #C56C7C

    #C56C7C

    oklch(63.6% 0.114 9.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A072

    #40A072

    oklch(63.6% 0.115 159.6)

  • #7D82CF

    #7D82CF

    oklch(63.5% 0.115 279.7)

  • #C57154

    #C57154

    oklch(63.6% 0.114 39.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A072

    #40A072

    oklch(63.6% 0.115 159.6)

  • #508FCE

    #508FCE

    oklch(63.5% 0.116 250.1)

  • #B86EA1

    #B86EA1

    oklch(63.5% 0.114 339.5)

  • #B77D32

    #B77D32

    oklch(63.5% 0.115 69.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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