#175F27

Closest named color: Spruce (#0A5F38). oklch(42.8% 0.112 147.1), rgb(23, 95, 39).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.70:1
White text7.77:1

Values

HEX#175F27
RGBrgb(23, 95, 39)
HSLhsl(133, 61%, 23%)
OKLCHoklch(42.8% 0.112 147.1)

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 #175F27 7.77:1 AAA Lc -91.4 Preferred for body text
Black text on #175F27 2.70:1 Fails Lc 17.4 Dividers and decoration only
#175F27 text on white 7.77:1 AAA Lc 86.6 Fine for body text
#175F27 text on black 2.70:1 Fails Lc -15.5 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE3

    oklch(93.7% 0.019 147.8)

  3. Step 200

    200

    #CAE0CC

    oklch(88.5% 0.036 147.9)

  4. Step 300

    300

    #A5CDA8

    oklch(80.9% 0.067 146.9)

  5. Step 400

    400

    #73B37A

    oklch(70.8% 0.105 147)

  6. Step 500

    500

    #4A9F57

    oklch(63.2% 0.134 146.9)

  7. Step 600

    600

    #25893B

    oklch(55.6% 0.146 147)

  8. Step 700

    700

    #15742D

    oklch(49% 0.136 147)

  9. Step 800

    800 (this color)

    #175F27

    oklch(42.8% 0.112 147.1)

  10. Step 900

    900

    #1B4E24

    oklch(37.8% 0.088 147)

  11. Step 950

    950

    #112E16

    oklch(27.1% 0.056 147.5)

Export this scale for Tailwind in the Tailwind colors tool

#175F27 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)#6056220.087
Deuteranopia (no green cones)#58502B0.087
Tritanopia (no blue cones)#005D520.065
Achromatopsia (no color)#5252520.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #175F27

    #175F27

    oklch(42.8% 0.112 147.1)

  • #6E366F

    #6E366F

    oklch(42.8% 0.112 326.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #175F27

    #175F27

    oklch(42.8% 0.112 147.1)

  • #4C5600

    #4C5600

    oklch(42.9% 0.099 117.2)

  • #005D4E

    #005D4E

    oklch(42.8% 0.079 176.7)

Open the analogous palette in the generator

Split complementary

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

  • #175F27

    #175F27

    oklch(42.8% 0.112 147.1)

  • #573F84

    #573F84

    oklch(42.8% 0.112 297.5)

  • #7D3050

    #7D3050

    oklch(42.8% 0.112 357)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #175F27

    #175F27

    oklch(42.8% 0.112 147.1)

  • #344B8C

    #344B8C

    oklch(42.9% 0.111 267)

  • #82322C

    #82322C

    oklch(42.9% 0.112 27.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #175F27

    #175F27

    oklch(42.8% 0.112 147.1)

  • #00567C

    #00567C

    oklch(42.9% 0.094 236.9)

  • #6E366F

    #6E366F

    oklch(42.8% 0.112 326.7)

  • #783E00

    #783E00

    oklch(42.9% 0.103 57.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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