#172C24

Closest named color: Jet (#212529). oklch(27.2% 0.031 167.8), rgb(23, 44, 36).

Aa

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

About this color

#172C24 is a dark, muted green. In OKLCH its lightness is 27%, its chroma 0.031 and its hue 168°. 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 14.76:1.

Hue familyGreens
Lightnessdark (27%)
Chromamuted (0.031)
Temperaturein between
Nearest nameJet (#212529)
Black text1.42:1
White text14.76:1

Values

HEX#172C24
RGBrgb(23, 44, 36)
HSLhsl(157, 31%, 13%)
OKLCHoklch(27.2% 0.031 167.8)

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 #172C24 14.76:1 AAA Lc -104.4 Preferred for body text
Black text on #172C24 1.42:1 Fails Lc 0.0 Not readable
#172C24 text on white 14.76:1 AAA Lc 101.6 Preferred for body text
#172C24 text on black 1.42: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

    #F2F6F5

    oklch(97% 0.004 179.7)

  2. Step 100

    100

    #E3ECE8

    oklch(93.5% 0.011 167.8)

  3. Step 200

    200

    #CDDED6

    oklch(88.6% 0.021 166)

  4. Step 300

    300

    #ABC9BC

    oklch(81% 0.037 167.4)

  5. Step 400

    400

    #7DAD99

    oklch(70.8% 0.059 167)

  6. Step 500

    500

    #599881

    oklch(63% 0.075 168.5)

  7. Step 600

    600

    #3C836A

    oklch(55.7% 0.082 167.8)

  8. Step 700

    700

    #2D6F58

    oklch(49.2% 0.077 167.4)

  9. Step 800

    800

    #275A48

    oklch(42.7% 0.063 167.7)

  10. Step 900

    900

    #254A3C

    oklch(37.7% 0.049 167.1)

  11. Step 950

    950 (this color)

    #172C24

    oklch(27.2% 0.031 167.8)

Export this scale for Tailwind in the Tailwind colors tool

#172C24 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)#2B29240.032
Deuteranopia (no green cones)#2827250.031
Tritanopia (no blue cones)#112C2A0.012
Achromatopsia (no color)#2828280.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #172C24

    #172C24

    oklch(27.2% 0.031 167.8)

  • #33212A

    #33212A

    oklch(27.4% 0.031 347.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172C24

    #172C24

    oklch(27.2% 0.031 167.8)

  • #202B1C

    #202B1C

    oklch(27.4% 0.031 137.5)

  • #132C2C

    #132C2C

    oklch(27.3% 0.031 195.5)

Open the analogous palette in the generator

Split complementary

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

  • #172C24

    #172C24

    oklch(27.2% 0.031 167.8)

  • #2D2231

    #2D2231

    oklch(27.1% 0.031 316.9)

  • #352121

    #352121

    oklch(27.3% 0.031 19.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172C24

    #172C24

    oklch(27.2% 0.031 167.8)

  • #262536

    #262536

    oklch(27.3% 0.031 286.8)

  • #34221A

    #34221A

    oklch(27.2% 0.031 44.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172C24

    #172C24

    oklch(27.2% 0.031 167.8)

  • #1D2836

    #1D2836

    oklch(27.3% 0.03 254.7)

  • #33212A

    #33212A

    oklch(27.4% 0.031 347.9)

  • #302515

    #302515

    oklch(27.3% 0.032 76.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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