#172B22

Closest named color: Jet (#212529). oklch(26.9% 0.031 164), rgb(23, 43, 34).

Aa

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

About this color

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

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

Values

HEX#172B22
RGBrgb(23, 43, 34)
HSLhsl(153, 30%, 13%)
OKLCHoklch(26.9% 0.031 164)

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 #172B22 14.94:1 AAA Lc -104.6 Preferred for body text
Black text on #172B22 1.40:1 Fails Lc 0.0 Not readable
#172B22 text on white 14.94:1 AAA Lc 101.8 Preferred for body text
#172B22 text on black 1.40: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

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CEDED5

    oklch(88.6% 0.021 161.4)

  4. Step 300

    300

    #ACC9BA

    oklch(81% 0.038 163)

  5. Step 400

    400

    #7EAD97

    oklch(70.8% 0.06 164.3)

  6. Step 500

    500

    #5C987D

    oklch(63.1% 0.075 163.9)

  7. Step 600

    600

    #408366

    oklch(55.7% 0.083 163.4)

  8. Step 700

    700

    #316E55

    oklch(49% 0.076 164.2)

  9. Step 800

    800

    #2A5A46

    oklch(42.8% 0.063 164.3)

  10. Step 900

    900

    #274A3B

    oklch(37.8% 0.049 164.6)

  11. Step 950

    950 (this color)

    #172B22

    oklch(26.9% 0.031 164)

Export this scale for Tailwind in the Tailwind colors tool

#172B22 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)#2A28220.031
Deuteranopia (no green cones)#2726230.030
Tritanopia (no blue cones)#122B280.012
Achromatopsia (no color)#2727270.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #172B22

    #172B22

    oklch(26.9% 0.031 164)

  • #31202A

    #31202A

    oklch(26.9% 0.031 343.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172B22

    #172B22

    oklch(26.9% 0.031 164)

  • #202A1A

    #202A1A

    oklch(27% 0.032 134.2)

  • #122B2B

    #122B2B

    oklch(26.9% 0.031 195.5)

Open the analogous palette in the generator

Split complementary

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

  • #172B22

    #172B22

    oklch(26.9% 0.031 164)

  • #2C2231

    #2C2231

    oklch(27% 0.031 314.3)

  • #342021

    #342021

    oklch(26.9% 0.031 16.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172B22

    #172B22

    oklch(26.9% 0.031 164)

  • #242435

    #242435

    oklch(26.8% 0.031 284.1)

  • #33211A

    #33211A

    oklch(26.8% 0.031 42.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172B22

    #172B22

    oklch(26.9% 0.031 164)

  • #1B2735

    #1B2735

    oklch(26.8% 0.031 252.8)

  • #31202A

    #31202A

    oklch(26.9% 0.031 343.3)

  • #2F2415

    #2F2415

    oklch(26.9% 0.03 74.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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