#175F40

Closest named color: Spruce (#0A5F38). oklch(43.3% 0.087 160.2), rgb(23, 95, 64).

Aa

White text reads best on this color (7.64:1).

About this color

#175F40 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.087 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.014 away. White text reads best on it, at 7.64:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.74:1
White text7.64:1

Values

HEX#175F40
RGBrgb(23, 95, 64)
HSLhsl(154, 61%, 23%)
OKLCHoklch(43.3% 0.087 160.2)

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 #175F40 7.64:1 AAA Lc -91.0 Preferred for body text
Black text on #175F40 2.74:1 Fails Lc 17.8 Dividers and decoration only
#175F40 text on white 7.64:1 AAA Lc 86.2 Fine for body text
#175F40 text on black 2.74:1 Fails Lc -15.8 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CADFD3

    oklch(88.5% 0.028 160.8)

  4. Step 300

    300

    #A5CBB6

    oklch(80.9% 0.05 160.9)

  5. Step 400

    400

    #72B18F

    oklch(70.8% 0.082 159.8)

  6. Step 500

    500

    #489D74

    oklch(63.2% 0.104 160.3)

  7. Step 600

    600

    #22875C

    oklch(55.6% 0.113 160.2)

  8. Step 700

    700

    #12724C

    oklch(49% 0.104 160.5)

  9. Step 800

    800 (this color)

    #175F40

    oklch(43.3% 0.087 160.2)

  10. Step 900

    900

    #1A4C35

    oklch(37.6% 0.067 160.5)

  11. Step 950

    950

    #112D1F

    oklch(27% 0.043 159.7)

Export this scale for Tailwind in the Tailwind colors tool

#175F40 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)#5E573E0.083
Deuteranopia (no green cones)#5551420.080
Tritanopia (no blue cones)#005F570.036
Achromatopsia (no color)#5353530.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #175F40

    #175F40

    oklch(43.3% 0.087 160.2)

  • #703C5F

    #703C5F

    oklch(43.3% 0.087 340.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #175F40

    #175F40

    oklch(43.3% 0.087 160.2)

  • #405A23

    #405A23

    oklch(43.3% 0.087 130.4)

  • #005D5A

    #005D5A

    oklch(43.2% 0.074 190.9)

Open the analogous palette in the generator

Split complementary

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

  • #175F40

    #175F40

    oklch(43.3% 0.087 160.2)

  • #5F4274

    #5F4274

    oklch(43.3% 0.087 309.9)

  • #783B45

    #783B45

    oklch(43.3% 0.085 10.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #175F40

    #175F40

    oklch(43.3% 0.087 160.2)

  • #484A7F

    #484A7F

    oklch(43.3% 0.087 280.5)

  • #783E2A

    #783E2A

    oklch(43.2% 0.087 39.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #175F40

    #175F40

    oklch(43.3% 0.087 160.2)

  • #27537E

    #27537E

    oklch(43.2% 0.087 250)

  • #703C5F

    #703C5F

    oklch(43.3% 0.087 340.7)

  • #6F470E

    #6F470E

    oklch(43.4% 0.087 69.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #175F40 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.