#40A587

Closest named color: Persian Green (#2A9D8F). oklch(65.4% 0.104 170.3), rgb(64, 165, 135).

Aa

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

About this color

#40A587 is a medium-light, moderately saturated teal or cyan. In OKLCH its lightness is 65%, its chroma 0.104 and its hue 170°. Its hue sits on the cool side of the wheel. The nearest named color is Persian Green (#2A9D8F), ΔE 0.033 away. Black text reads best on it, at 6.94:1.

Hue familyTeals and cyans
Lightnessmedium-light (65%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest namePersian Green (#2A9D8F)
Black text6.94:1
White text3.02:1

Values

HEX#40A587
RGBrgb(64, 165, 135)
HSLhsl(162, 44%, 45%)
OKLCHoklch(65.4% 0.104 170.3)

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 #40A587 3.02:1 AA large text Lc -62.0 Content text, not long reading
Black text on #40A587 6.94:1 AA Lc 47.4 Large or bold text, headings
#40A587 text on white 3.02:1 AA large text Lc 56.7 Large or bold text, headings
#40A587 text on black 6.94:1 AA Lc -45.1 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 500.

  1. Step 50

    50

    #F1F7F5

    oklch(97.1% 0.007 174.4)

  2. Step 100

    100

    #E1EDE8

    oklch(93.6% 0.014 169.2)

  3. Step 200

    200

    #C8E0D6

    oklch(88.6% 0.029 168.7)

  4. Step 300

    300

    #A0CCBC

    oklch(80.9% 0.052 170.8)

  5. Step 400

    400

    #69B199

    oklch(70.6% 0.081 170.5)

  6. Step 500

    500 (this color)

    #40A587

    oklch(65.4% 0.104 170.3)

  7. Step 600

    600

    #00876A

    oklch(55.5% 0.109 170.8)

  8. Step 700

    700

    #007258

    oklch(49.1% 0.097 169.9)

  9. Step 800

    800

    #005D48

    oklch(42.6% 0.084 170.6)

  10. Step 900

    900

    #0E4D3C

    oklch(37.7% 0.068 170.1)

  11. Step 950

    950

    #0C2D23

    oklch(26.9% 0.043 169.9)

Export this scale for Tailwind in the Tailwind colors tool

#40A587 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)#A19B860.107
Deuteranopia (no green cones)#9290890.103
Tritanopia (no blue cones)#00A69C0.034
Achromatopsia (no color)#9494940.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A587

    #40A587

    oklch(65.4% 0.104 170.3)

  • #C07599

    #C07599

    oklch(65.4% 0.104 350.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A587

    #40A587

    oklch(65.4% 0.104 170.3)

  • #6DA062

    #6DA062

    oklch(65.4% 0.104 140.1)

  • #22A3AA

    #22A3AA

    oklch(65.4% 0.104 200.6)

Open the analogous palette in the generator

Split complementary

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

  • #40A587

    #40A587

    oklch(65.4% 0.104 170.3)

  • #AD7BB8

    #AD7BB8

    oklch(65.4% 0.104 320.2)

  • #C87576

    #C87576

    oklch(65.3% 0.105 19.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A587

    #40A587

    oklch(65.4% 0.104 170.3)

  • #9085CC

    #9085CC

    oklch(65.5% 0.105 290.3)

  • #C47D54

    #C47D54

    oklch(65.5% 0.105 50.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A587

    #40A587

    oklch(65.4% 0.104 170.3)

  • #6B91D0

    #6B91D0

    oklch(65.5% 0.104 260.2)

  • #C07599

    #C07599

    oklch(65.4% 0.104 350.1)

  • #B2893F

    #B2893F

    oklch(65.5% 0.104 79.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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