#172A15

Closest named color: Very Dark Green (#062E03). oklch(26.2% 0.046 142), rgb(23, 42, 21).

Aa

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

About this color

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

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

Values

HEX#172A15
RGBrgb(23, 42, 21)
HSLhsl(114, 33%, 12%)
OKLCHoklch(26.2% 0.046 142)

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 #172A15 15.23:1 AAA Lc -104.8 Preferred for body text
Black text on #172A15 1.37:1 Fails Lc 0.0 Not readable
#172A15 text on white 15.23:1 AAA Lc 102.1 Preferred for body text
#172A15 text on black 1.37: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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CEDECC

    oklch(88.4% 0.03 142.2)

  4. Step 300

    300

    #AECAAA

    oklch(80.9% 0.054 141.6)

  5. Step 400

    400

    #82AF7D

    oklch(70.8% 0.086 142.1)

  6. Step 500

    500

    #619A5B

    oklch(63.1% 0.11 142)

  7. Step 600

    600

    #468440

    oklch(55.5% 0.119 142)

  8. Step 700

    700

    #377032

    oklch(49.1% 0.111 142.1)

  9. Step 800

    800

    #2E5B2A

    oklch(42.6% 0.092 142.2)

  10. Step 900

    900

    #2A4B26

    oklch(37.7% 0.072 141.7)

  11. Step 950

    950 (this color)

    #172A15

    oklch(26.2% 0.046 142)

Export this scale for Tailwind in the Tailwind colors tool

#172A15 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)#2B27130.033
Deuteranopia (no green cones)#2825160.032
Tritanopia (no blue cones)#1529250.029
Achromatopsia (no color)#2525250.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #172A15

    #172A15

    oklch(26.2% 0.046 142)

  • #2F1D32

    #2F1D32

    oklch(26.3% 0.046 321.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172A15

    #172A15

    oklch(26.2% 0.046 142)

  • #25270A

    #25270A

    oklch(26.3% 0.046 112.8)

  • #062C22

    #062C22

    oklch(26.4% 0.046 171.4)

Open the analogous palette in the generator

Split complementary

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

  • #172A15

    #172A15

    oklch(26.2% 0.046 142)

  • #252039

    #252039

    oklch(26.2% 0.046 292.1)

  • #351B27

    #351B27

    oklch(26.2% 0.045 351.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172A15

    #172A15

    oklch(26.2% 0.046 142)

  • #18243B

    #18243B

    oklch(26.2% 0.047 262.6)

  • #381B1A

    #381B1A

    oklch(26.3% 0.046 22.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172A15

    #172A15

    oklch(26.2% 0.046 142)

  • #082837

    #082837

    oklch(26.2% 0.046 232.9)

  • #2F1D32

    #2F1D32

    oklch(26.3% 0.046 321.7)

  • #361E0E

    #361E0E

    oklch(26.3% 0.046 53.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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