#172A18

Closest named color: Very Dark Green (#062E03). oklch(26.3% 0.041 145.5), rgb(23, 42, 24).

Aa

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

About this color

#172A18 is a dark, muted green. In OKLCH its lightness is 26%, its chroma 0.041 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.041 away. White text reads best on it, at 15.20:1.

Hue familyGreens
Lightnessdark (26%)
Chromamuted (0.041)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.38:1
White text15.20:1

Values

HEX#172A18
RGBrgb(23, 42, 24)
HSLhsl(123, 29%, 13%)
OKLCHoklch(26.3% 0.041 145.5)

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 #172A18 15.20:1 AAA Lc -104.8 Preferred for body text
Black text on #172A18 1.38:1 Fails Lc 0.0 Not readable
#172A18 text on white 15.20:1 AAA Lc 102.1 Preferred for body text
#172A18 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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4EDE4

    oklch(93.7% 0.015 145.5)

  3. Step 200

    200

    #CEDECE

    oklch(88.4% 0.028 145.3)

  4. Step 300

    300

    #ADCAAE

    oklch(81% 0.05 146)

  5. Step 400

    400

    #81AE83

    oklch(70.7% 0.079 145.8)

  6. Step 500

    500

    #609A63

    oklch(63.2% 0.102 145.4)

  7. Step 600

    600

    #45844A

    oklch(55.6% 0.11 145.6)

  8. Step 700

    700

    #37703B

    oklch(49.2% 0.102 145.2)

  9. Step 800

    800

    #2E5B31

    oklch(42.7% 0.084 145.3)

  10. Step 900

    900

    #294B2B

    oklch(37.7% 0.067 145.4)

  11. Step 950

    950 (this color)

    #172A18

    oklch(26.3% 0.041 145.5)

Export this scale for Tailwind in the Tailwind colors tool

#172A18 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)#2B27170.033
Deuteranopia (no green cones)#2825190.032
Tritanopia (no blue cones)#1529250.024
Achromatopsia (no color)#2626260.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #172A18

    #172A18

    oklch(26.3% 0.041 145.5)

  • #2F1D30

    #2F1D30

    oklch(26.2% 0.043 324.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172A18

    #172A18

    oklch(26.3% 0.041 145.5)

  • #24270E

    #24270E

    oklch(26.3% 0.041 115)

  • #092B24

    #092B24

    oklch(26.2% 0.041 176.7)

Open the analogous palette in the generator

Split complementary

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

  • #172A18

    #172A18

    oklch(26.3% 0.041 145.5)

  • #262037

    #262037

    oklch(26.2% 0.043 295.3)

  • #351C25

    #351C25

    oklch(26.4% 0.042 357.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172A18

    #172A18

    oklch(26.3% 0.041 145.5)

  • #1B2439

    #1B2439

    oklch(26.3% 0.042 265.9)

  • #361C1A

    #361C1A

    oklch(26.1% 0.042 25)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172A18

    #172A18

    oklch(26.3% 0.041 145.5)

  • #0E2836

    #0E2836

    oklch(26.4% 0.041 234.9)

  • #2F1D30

    #2F1D30

    oklch(26.2% 0.043 324.9)

  • #341F10

    #341F10

    oklch(26.3% 0.041 55.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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