#40A07D

Closest named color: Ocean Green (#3D9973). oklch(63.9% 0.105 166), rgb(64, 160, 125).

Aa

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

About this color

#40A07D is a medium-light, moderately saturated green. In OKLCH its lightness is 64%, its chroma 0.105 and its hue 166°. 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.54:1.

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

Values

HEX#40A07D
RGBrgb(64, 160, 125)
HSLhsl(158, 43%, 44%)
OKLCHoklch(63.9% 0.105 166)

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 #40A07D 3.20:1 AA large text Lc -64.5 Content text, not long reading
Black text on #40A07D 6.54:1 AA Lc 45.0 Large or bold text, headings
#40A07D text on white 3.20:1 AA large text Lc 59.1 Large or bold text, headings
#40A07D text on black 6.54:1 AA Lc -42.7 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

    #E1EDE7

    oklch(93.5% 0.015 164.7)

  3. Step 200

    200

    #C8E0D5

    oklch(88.6% 0.03 166.4)

  4. Step 300

    300

    #A2CCB9

    oklch(81% 0.052 165.8)

  5. Step 400

    400

    #6CB195

    oklch(70.6% 0.082 166.3)

  6. Step 500

    500 (this color)

    #40A07D

    oklch(63.9% 0.105 166)

  7. Step 600

    600

    #048864

    oklch(55.6% 0.114 166.2)

  8. Step 700

    700

    #007253

    oklch(49% 0.101 166.2)

  9. Step 800

    800

    #015E44

    oklch(42.8% 0.088 166.2)

  10. Step 900

    900

    #124D39

    oklch(37.7% 0.069 166)

  11. Step 950

    950

    #0E2D21

    oklch(27% 0.043 165.1)

Export this scale for Tailwind in the Tailwind colors tool

#40A07D 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)#9D957B0.106
Deuteranopia (no green cones)#8F8C7F0.100
Tritanopia (no blue cones)#02A0960.040
Achromatopsia (no color)#9090900.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A07D

    #40A07D

    oklch(63.9% 0.105 166)

  • #BA7199

    #BA7199

    oklch(64% 0.105 346.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A07D

    #40A07D

    oklch(63.9% 0.105 166)

  • #6E9A58

    #6E9A58

    oklch(63.8% 0.105 135.9)

  • #169FA1

    #169FA1

    oklch(63.9% 0.105 196.5)

Open the analogous palette in the generator

Split complementary

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

  • #40A07D

    #40A07D

    oklch(63.9% 0.105 166)

  • #A577B7

    #A577B7

    oklch(63.8% 0.106 316.2)

  • #C37076

    #C37076

    oklch(63.9% 0.105 15.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A07D

    #40A07D

    oklch(63.9% 0.105 166)

  • #8682C9

    #8682C9

    oklch(63.9% 0.105 285.6)

  • #C07653

    #C07653

    oklch(63.8% 0.105 45.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A07D

    #40A07D

    oklch(63.9% 0.105 166)

  • #608ECB

    #608ECB

    oklch(64% 0.105 255.8)

  • #BA7199

    #BA7199

    oklch(64% 0.105 346.5)

  • #B0823A

    #B0823A

    oklch(63.8% 0.105 75.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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