#172C12

Closest named color: Very Dark Green (#062E03). oklch(26.8% 0.053 139.8), rgb(23, 44, 18).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (27%)
Chromamuted (0.053)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.40:1
White text14.94:1

Values

HEX#172C12
RGBrgb(23, 44, 18)
HSLhsl(108, 42%, 12%)
OKLCHoklch(26.8% 0.053 139.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 #172C12 14.94:1 AAA Lc -104.5 Preferred for body text
Black text on #172C12 1.40:1 Fails Lc 0.0 Not readable
#172C12 text on white 14.94:1 AAA Lc 101.7 Preferred for body text
#172C12 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CEDFC9

    oklch(88.5% 0.035 138.6)

  4. Step 300

    300

    #ACCBA4

    oklch(80.9% 0.063 139.3)

  5. Step 400

    400

    #7FB073

    oklch(70.7% 0.101 139.6)

  6. Step 500

    500

    #5D9C4E

    oklch(63.1% 0.128 139.8)

  7. Step 600

    600

    #418630

    oklch(55.6% 0.14 139.9)

  8. Step 700

    700

    #327222

    oklch(49.2% 0.131 139.9)

  9. Step 800

    800

    #2B5D1E

    oklch(42.8% 0.108 139.7)

  10. Step 900

    900

    #274C1E

    oklch(37.7% 0.085 139.8)

  11. Step 950

    950 (this color)

    #172C12

    oklch(26.8% 0.053 139.8)

Export this scale for Tailwind in the Tailwind colors tool

#172C12 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)#2D28100.037
Deuteranopia (no green cones)#2A26140.037
Tritanopia (no blue cones)#152B260.035
Achromatopsia (no color)#2727270.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #172C12

    #172C12

    oklch(26.8% 0.053 139.8)

  • #311D36

    #311D36

    oklch(26.8% 0.053 319.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172C12

    #172C12

    oklch(26.8% 0.053 139.8)

  • #282804

    #282804

    oklch(26.9% 0.053 109.5)

  • #002E22

    #002E22

    oklch(26.8% 0.053 170.2)

Open the analogous palette in the generator

Split complementary

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

  • #172C12

    #172C12

    oklch(26.8% 0.053 139.8)

  • #26213E

    #26213E

    oklch(26.9% 0.053 290.3)

  • #391A2A

    #391A2A

    oklch(26.8% 0.054 349.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172C12

    #172C12

    oklch(26.8% 0.053 139.8)

  • #162640

    #162640

    oklch(26.9% 0.053 259.7)

  • #3C1A1B

    #3C1A1B

    oklch(26.7% 0.054 19.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172C12

    #172C12

    oklch(26.8% 0.053 139.8)

  • #002A3B

    #002A3B

    oklch(26.7% 0.054 230.9)

  • #311D36

    #311D36

    oklch(26.8% 0.053 319.4)

  • #3A1D0C

    #3A1D0C

    oklch(26.7% 0.053 49.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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