#173A2C

Closest named color: Pakistan Green (#283618). oklch(31.8% 0.048 164.9), rgb(23, 58, 44).

Aa

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

About this color

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

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

Values

HEX#173A2C
RGBrgb(23, 58, 44)
HSLhsl(156, 43%, 16%)
OKLCHoklch(31.8% 0.048 164.9)

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 #173A2C 12.51:1 AAA Lc -101.7 Preferred for body text
Black text on #173A2C 1.67:1 Fails Lc 0.0 Not readable
#173A2C text on white 12.51:1 AAA Lc 98.3 Preferred for body text
#173A2C 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

    #E0EEE7

    oklch(93.7% 0.018 164.6)

  3. Step 200

    200

    #C7E0D4

    oklch(88.5% 0.031 165.2)

  4. Step 300

    300

    #9FCDB7

    oklch(80.9% 0.057 164.2)

  5. Step 400

    400

    #66B392

    oklch(70.7% 0.092 164.5)

  6. Step 500

    500

    #2F9F77

    oklch(63% 0.117 164.8)

  7. Step 600

    600

    #008862

    oklch(55.5% 0.117 165.2)

  8. Step 700

    700

    #007352

    oklch(49.2% 0.104 164.9)

  9. Step 800

    800

    #005E42

    oklch(42.7% 0.09 164.7)

  10. Step 900

    900

    #074E37

    oklch(37.7% 0.076 164.7)

  11. Step 950

    950 (this color)

    #173A2C

    oklch(31.8% 0.048 164.9)

Export this scale for Tailwind in the Tailwind colors tool

#173A2C 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)#39362B0.048
Deuteranopia (no green cones)#34322D0.047
Tritanopia (no blue cones)#0A3A360.019
Achromatopsia (no color)#3434340.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #173A2C

    #173A2C

    oklch(31.8% 0.048 164.9)

  • #442838

    #442838

    oklch(31.8% 0.049 344.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173A2C

    #173A2C

    oklch(31.8% 0.048 164.9)

  • #27381E

    #27381E

    oklch(31.8% 0.049 135.4)

  • #0B3A3A

    #0B3A3A

    oklch(31.8% 0.048 195)

Open the analogous palette in the generator

Split complementary

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

  • #173A2C

    #173A2C

    oklch(31.8% 0.048 164.9)

  • #3B2B43

    #3B2B43

    oklch(31.8% 0.047 314.1)

  • #48282A

    #48282A

    oklch(31.9% 0.048 16.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173A2C

    #173A2C

    oklch(31.8% 0.048 164.9)

  • #302F4A

    #302F4A

    oklch(31.9% 0.048 285)

  • #472A1D

    #472A1D

    oklch(31.8% 0.049 44.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173A2C

    #173A2C

    oklch(31.8% 0.048 164.9)

  • #21334A

    #21334A

    oklch(31.7% 0.048 255)

  • #442838

    #442838

    oklch(31.8% 0.049 344.9)

  • #412E14

    #412E14

    oklch(31.7% 0.048 73.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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