#173A2D

Closest named color: Pakistan Green (#283618). oklch(31.8% 0.047 166.6), rgb(23, 58, 45).

Aa

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

About this color

#173A2D is a dark, muted green. In OKLCH its lightness is 32%, its chroma 0.047 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.033 away. White text reads best on it, at 12.50:1.

Hue familyGreens
Lightnessdark (32%)
Chromamuted (0.047)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.67:1
White text12.50:1

Values

HEX#173A2D
RGBrgb(23, 58, 45)
HSLhsl(158, 43%, 16%)
OKLCHoklch(31.8% 0.047 166.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 #173A2D 12.50:1 AAA Lc -101.7 Preferred for body text
Black text on #173A2D 1.67:1 Fails Lc 0.0 Not readable
#173A2D text on white 12.50:1 AAA Lc 98.3 Preferred for body text
#173A2D text on black 1.67:1 Fails Lc 0.0 Not readable

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

  1. Step 50

    50

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E0EDE7

    oklch(93.5% 0.016 166.7)

  3. Step 200

    200

    #C7E0D5

    oklch(88.5% 0.03 167.4)

  4. Step 300

    300

    #9FCDB9

    oklch(81% 0.056 166.6)

  5. Step 400

    400

    #65B394

    oklch(70.8% 0.091 166.2)

  6. Step 500

    500

    #2F9F7A

    oklch(63.1% 0.114 166.6)

  7. Step 600

    600

    #008864

    oklch(55.6% 0.115 166.4)

  8. Step 700

    700

    #007254

    oklch(49% 0.101 166.9)

  9. Step 800

    800

    #005E44

    oklch(42.7% 0.088 166.3)

  10. Step 900

    900

    #064E39

    oklch(37.7% 0.075 166.8)

  11. Step 950

    950 (this color)

    #173A2D

    oklch(31.8% 0.047 166.6)

Export this scale for Tailwind in the Tailwind colors tool

#173A2D 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)#39362C0.048
Deuteranopia (no green cones)#33322E0.046
Tritanopia (no blue cones)#093A360.017
Achromatopsia (no color)#3434340.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #173A2D

    #173A2D

    oklch(31.8% 0.047 166.6)

  • #442837

    #442837

    oklch(31.8% 0.048 346.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173A2D

    #173A2D

    oklch(31.8% 0.047 166.6)

  • #27381F

    #27381F

    oklch(31.8% 0.048 136.1)

  • #0C3A3A

    #0C3A3A

    oklch(31.9% 0.048 195)

Open the analogous palette in the generator

Split complementary

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

  • #173A2D

    #173A2D

    oklch(31.8% 0.047 166.6)

  • #3C2B42

    #3C2B42

    oklch(31.9% 0.046 317.1)

  • #47282A

    #47282A

    oklch(31.7% 0.047 15.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173A2D

    #173A2D

    oklch(31.8% 0.047 166.6)

  • #302F49

    #302F49

    oklch(31.8% 0.046 285.2)

  • #462B1D

    #462B1D

    oklch(31.9% 0.047 47.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173A2D

    #173A2D

    oklch(31.8% 0.047 166.6)

  • #22334A

    #22334A

    oklch(31.8% 0.047 256.2)

  • #442837

    #442837

    oklch(31.8% 0.048 346.8)

  • #402F15

    #402F15

    oklch(31.8% 0.047 76.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #173A2D 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.