#173A18

Closest named color: Pakistan Green (#283618). oklch(31.3% 0.071 144.2), rgb(23, 58, 24).

Aa

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

About this color

#173A18 is a dark, moderately saturated green. In OKLCH its lightness is 31%, its chroma 0.071 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.024 away. White text reads best on it, at 12.69:1.

Hue familyGreens
Lightnessdark (31%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.65:1
White text12.69:1

Values

HEX#173A18
RGBrgb(23, 58, 24)
HSLhsl(122, 43%, 16%)
OKLCHoklch(31.3% 0.071 144.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 #173A18 12.69:1 AAA Lc -101.9 Preferred for body text
Black text on #173A18 1.65:1 Fails Lc 0.0 Not readable
#173A18 text on white 12.69:1 AAA Lc 98.6 Preferred for body text
#173A18 text on black 1.65: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

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E1EEE0

    oklch(93.6% 0.023 143.4)

  3. Step 200

    200

    #C7E2C6

    oklch(88.5% 0.048 144.2)

  4. Step 300

    300

    #A0CF9F

    oklch(80.9% 0.083 144.2)

  5. Step 400

    400

    #68B669

    oklch(70.7% 0.134 144.3)

  6. Step 500

    500

    #36A33D

    oklch(63.2% 0.172 144.1)

  7. Step 600

    600

    #008C1C

    oklch(55.6% 0.179 144.1)

  8. Step 700

    700

    #007616

    oklch(49.1% 0.159 144.1)

  9. Step 800

    800

    #006110

    oklch(42.8% 0.138 144.1)

  10. Step 900

    900

    #0D5013

    oklch(37.8% 0.113 144)

  11. Step 950

    950 (this color)

    #173A18

    oklch(31.3% 0.071 144.2)

Export this scale for Tailwind in the Tailwind colors tool

#173A18 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)#3B35150.053
Deuteranopia (no green cones)#36311A0.053
Tritanopia (no blue cones)#1238320.045
Achromatopsia (no color)#3333330.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #173A18

    #173A18

    oklch(31.3% 0.071 144.2)

  • #422345

    #422345

    oklch(31.2% 0.071 323.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #173A18

    #173A18

    oklch(31.3% 0.071 144.2)

  • #313500

    #313500

    oklch(31.4% 0.071 114.3)

  • #003B2F

    #003B2F

    oklch(31.4% 0.06 174)

Open the analogous palette in the generator

Split complementary

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

  • #173A18

    #173A18

    oklch(31.3% 0.071 144.2)

  • #332951

    #332951

    oklch(31.3% 0.07 293.4)

  • #4C2033

    #4C2033

    oklch(31.3% 0.071 354.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #173A18

    #173A18

    oklch(31.3% 0.071 144.2)

  • #1E2F55

    #1E2F55

    oklch(31.2% 0.072 264.4)

  • #4F201F

    #4F201F

    oklch(31.2% 0.071 23.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #173A18

    #173A18

    oklch(31.3% 0.071 144.2)

  • #00364D

    #00364D

    oklch(31.4% 0.065 233.8)

  • #422345

    #422345

    oklch(31.2% 0.071 323.9)

  • #4C2507

    #4C2507

    oklch(31.2% 0.071 53.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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