#173A2E

Closest named color: Pakistan Green (#283618). oklch(31.8% 0.046 168.4), rgb(23, 58, 46).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (32%)
Chromamuted (0.046)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.68:1
White text12.49:1

Values

HEX#173A2E
RGBrgb(23, 58, 46)
HSLhsl(159, 43%, 16%)
OKLCHoklch(31.8% 0.046 168.4)

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 #173A2E 12.49:1 AAA Lc -101.7 Preferred for body text
Black text on #173A2E 1.68:1 Fails Lc 0.0 Not readable
#173A2E text on white 12.49:1 AAA Lc 98.3 Preferred for body text
#173A2E text on black 1.68: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

    #E0EDE8

    oklch(93.5% 0.015 171)

  3. Step 200

    200

    #C7E0D5

    oklch(88.5% 0.03 167.4)

  4. Step 300

    300

    #9FCDBA

    oklch(81% 0.055 167.8)

  5. Step 400

    400

    #65B296

    oklch(70.6% 0.088 168.3)

  6. Step 500

    500

    #2E9F7D

    oklch(63.1% 0.113 168.5)

  7. Step 600

    600

    #008867

    oklch(55.7% 0.112 168.2)

  8. Step 700

    700

    #007256

    oklch(49% 0.099 168.4)

  9. Step 800

    800

    #005E46

    oklch(42.8% 0.087 168)

  10. Step 900

    900

    #064E3A

    oklch(37.8% 0.074 167.9)

  11. Step 950

    950 (this color)

    #173A2E

    oklch(31.8% 0.046 168.4)

Export this scale for Tailwind in the Tailwind colors tool

#173A2E 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)#39362D0.048
Deuteranopia (no green cones)#33322F0.046
Tritanopia (no blue cones)#093A370.017
Achromatopsia (no color)#3434340.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #173A2E

    #173A2E

    oklch(31.8% 0.046 168.4)

  • #442836

    #442836

    oklch(31.7% 0.047 348.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173A2E

    #173A2E

    oklch(31.8% 0.046 168.4)

  • #263821

    #263821

    oklch(31.8% 0.046 139)

  • #0E3A3B

    #0E3A3B

    oklch(32% 0.047 197.3)

Open the analogous palette in the generator

Split complementary

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

  • #173A2E

    #173A2E

    oklch(31.8% 0.046 168.4)

  • #3C2B42

    #3C2B42

    oklch(31.9% 0.046 317.1)

  • #472829

    #472829

    oklch(31.7% 0.047 18)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173A2E

    #173A2E

    oklch(31.8% 0.046 168.4)

  • #312E49

    #312E49

    oklch(31.7% 0.048 288.5)

  • #462B1D

    #462B1D

    oklch(31.9% 0.047 47.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173A2E

    #173A2E

    oklch(31.8% 0.046 168.4)

  • #24334A

    #24334A

    oklch(31.9% 0.046 258.7)

  • #442836

    #442836

    oklch(31.7% 0.047 348.7)

  • #3F2F15

    #3F2F15

    oklch(31.7% 0.046 78)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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