#172A20

Closest named color: Jet (#212529). oklch(26.5% 0.031 160.3), rgb(23, 42, 32).

Aa

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

About this color

#172A20 is a dark, muted green. In OKLCH its lightness is 26%, its chroma 0.031 and its hue 160°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.033 away. White text reads best on it, at 15.12:1.

Hue familyGreens
Lightnessdark (26%)
Chromamuted (0.031)
Temperaturein between
Nearest nameJet (#212529)
Black text1.38:1
White text15.12:1

Values

HEX#172A20
RGBrgb(23, 42, 32)
HSLhsl(148, 29%, 13%)
OKLCHoklch(26.5% 0.031 160.3)

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 #172A20 15.12:1 AAA Lc -104.7 Preferred for body text
Black text on #172A20 1.38:1 Fails Lc 0.0 Not readable
#172A20 text on white 15.12:1 AAA Lc 102.0 Preferred for body text
#172A20 text on black 1.38: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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE7

    oklch(93.6% 0.011 158.8)

  3. Step 200

    200

    #CEDED4

    oklch(88.6% 0.022 158.5)

  4. Step 300

    300

    #ADC8B9

    oklch(80.8% 0.036 161.2)

  5. Step 400

    400

    #80AC94

    oklch(70.6% 0.059 160.6)

  6. Step 500

    500

    #5F987A

    oklch(63.1% 0.076 160.2)

  7. Step 600

    600

    #438263

    oklch(55.5% 0.082 160.6)

  8. Step 700

    700

    #346E52

    oklch(49.1% 0.077 160.7)

  9. Step 800

    800

    #2C5A43

    oklch(42.8% 0.064 160.2)

  10. Step 900

    900

    #284A39

    oklch(37.8% 0.05 161)

  11. Step 950

    950 (this color)

    #172A20

    oklch(26.5% 0.031 160.3)

Export this scale for Tailwind in the Tailwind colors tool

#172A20 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)#2A271F0.031
Deuteranopia (no green cones)#2625210.029
Tritanopia (no blue cones)#132A270.013
Achromatopsia (no color)#2626260.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #172A20

    #172A20

    oklch(26.5% 0.031 160.3)

  • #301F2A

    #301F2A

    oklch(26.5% 0.032 340.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172A20

    #172A20

    oklch(26.5% 0.031 160.3)

  • #202818

    #202818

    oklch(26.4% 0.031 129.9)

  • #112A29

    #112A29

    oklch(26.5% 0.031 192)

Open the analogous palette in the generator

Split complementary

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

  • #172A20

    #172A20

    oklch(26.5% 0.031 160.3)

  • #2A2131

    #2A2131

    oklch(26.5% 0.032 309.9)

  • #331F22

    #331F22

    oklch(26.6% 0.032 9.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172A20

    #172A20

    oklch(26.5% 0.031 160.3)

  • #222434

    #222434

    oklch(26.6% 0.03 278.6)

  • #332019

    #332019

    oklch(26.5% 0.032 41)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172A20

    #172A20

    oklch(26.5% 0.031 160.3)

  • #192634

    #192634

    oklch(26.4% 0.032 250.9)

  • #301F2A

    #301F2A

    oklch(26.5% 0.032 340.5)

  • #2F2314

    #2F2314

    oklch(26.6% 0.031 72)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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