#172E22

Closest named color: Jet (#212529). oklch(27.8% 0.037 159.9), rgb(23, 46, 34).

Aa

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

About this color

#172E22 is a dark, muted green. In OKLCH its lightness is 28%, its chroma 0.037 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.041 away. White text reads best on it, at 14.47:1.

Hue familyGreens
Lightnessdark (28%)
Chromamuted (0.037)
Temperaturein between
Nearest nameJet (#212529)
Black text1.45:1
White text14.47:1

Values

HEX#172E22
RGBrgb(23, 46, 34)
HSLhsl(149, 33%, 14%)
OKLCHoklch(27.8% 0.037 159.9)

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

    #E3EDE7

    oklch(93.7% 0.013 159.9)

  3. Step 200

    200

    #CCDED4

    oklch(88.4% 0.024 161.7)

  4. Step 300

    300

    #A9CAB7

    oklch(80.9% 0.044 160)

  5. Step 400

    400

    #7AAE92

    oklch(70.6% 0.069 160.4)

  6. Step 500

    500

    #559A77

    oklch(63.1% 0.089 160.3)

  7. Step 600

    600

    #36855F

    oklch(55.7% 0.098 159.7)

  8. Step 700

    700

    #28704F

    oklch(49.1% 0.09 160.3)

  9. Step 800

    800

    #235B41

    oklch(42.6% 0.074 160.6)

  10. Step 900

    900

    #224B37

    oklch(37.7% 0.058 160.5)

  11. Step 950

    950 (this color)

    #172E22

    oklch(27.8% 0.037 159.9)

Export this scale for Tailwind in the Tailwind colors tool

#172E22 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)#2E2B210.036
Deuteranopia (no green cones)#2A28230.035
Tritanopia (no blue cones)#112E2B0.017
Achromatopsia (no color)#2929290.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #172E22

    #172E22

    oklch(27.8% 0.037 159.9)

  • #35212E

    #35212E

    oklch(27.8% 0.037 340.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172E22

    #172E22

    oklch(27.8% 0.037 159.9)

  • #222C18

    #222C18

    oklch(27.7% 0.038 130.1)

  • #0F2E2C

    #0F2E2C

    oklch(27.7% 0.037 189.5)

Open the analogous palette in the generator

Split complementary

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

  • #172E22

    #172E22

    oklch(27.8% 0.037 159.9)

  • #2E2336

    #2E2336

    oklch(27.7% 0.037 310.4)

  • #382124

    #382124

    oklch(27.8% 0.036 11.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172E22

    #172E22

    oklch(27.8% 0.037 159.9)

  • #25263A

    #25263A

    oklch(27.7% 0.037 281.5)

  • #38221A

    #38221A

    oklch(27.8% 0.037 40.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172E22

    #172E22

    oklch(27.8% 0.037 159.9)

  • #1A2A3A

    #1A2A3A

    oklch(27.9% 0.037 249.3)

  • #35212E

    #35212E

    oklch(27.8% 0.037 340.6)

  • #342513

    #342513

    oklch(27.8% 0.037 70.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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