#172E20

Closest named color: Pakistan Green (#283618). oklch(27.7% 0.039 156), rgb(23, 46, 32).

Aa

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

About this color

#172E20 is a dark, muted green. In OKLCH its lightness is 28%, its chroma 0.039 and its hue 156°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.043 away. White text reads best on it, at 14.50:1.

Hue familyGreens
Lightnessdark (28%)
Chromamuted (0.039)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.44:1
White text14.50:1

Values

HEX#172E20
RGBrgb(23, 46, 32)
HSLhsl(143, 33%, 14%)
OKLCHoklch(27.7% 0.039 156)

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 #172E20 14.50:1 AAA Lc -104.1 Preferred for body text
Black text on #172E20 1.44:1 Fails Lc 0.0 Not readable
#172E20 text on white 14.50:1 AAA Lc 101.2 Preferred for body text
#172E20 text on black 1.44: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CCDFD2

    oklch(88.6% 0.027 155.9)

  4. Step 300

    300

    #A9CAB4

    oklch(80.9% 0.047 156)

  5. Step 400

    400

    #7AAF8D

    oklch(70.7% 0.075 155.8)

  6. Step 500

    500

    #559B71

    oklch(63.2% 0.096 156)

  7. Step 600

    600

    #378559

    oklch(55.6% 0.104 155.9)

  8. Step 700

    700

    #297149

    oklch(49.2% 0.097 155.7)

  9. Step 800

    800

    #235C3C

    oklch(42.7% 0.08 155.9)

  10. Step 900

    900

    #234B33

    oklch(37.6% 0.062 155.6)

  11. Step 950

    950 (this color)

    #172E20

    oklch(27.7% 0.039 156)

Export this scale for Tailwind in the Tailwind colors tool

#172E20 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)#2E2B1F0.036
Deuteranopia (no green cones)#2A28210.035
Tritanopia (no blue cones)#122E2A0.018
Achromatopsia (no color)#2929290.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #172E20

    #172E20

    oklch(27.7% 0.039 156)

  • #342130

    #342130

    oklch(27.8% 0.038 334.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172E20

    #172E20

    oklch(27.7% 0.039 156)

  • #232C16

    #232C16

    oklch(27.8% 0.04 127)

  • #0D2E2B

    #0D2E2B

    oklch(27.6% 0.039 186.9)

Open the analogous palette in the generator

Split complementary

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

  • #172E20

    #172E20

    oklch(27.7% 0.039 156)

  • #2D2338

    #2D2338

    oklch(27.7% 0.04 305.7)

  • #392025

    #392025

    oklch(27.8% 0.039 7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172E20

    #172E20

    oklch(27.7% 0.039 156)

  • #23263C

    #23263C

    oklch(27.6% 0.041 277.4)

  • #39211B

    #39211B

    oklch(27.7% 0.039 34.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172E20

    #172E20

    oklch(27.7% 0.039 156)

  • #172A3A

    #172A3A

    oklch(27.7% 0.039 245.2)

  • #342130

    #342130

    oklch(27.8% 0.038 334.4)

  • #352412

    #352412

    oklch(27.6% 0.039 66.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #172E20 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.