#172C0C

Closest named color: Very Dark Green (#062E03). oklch(26.7% 0.06 136.3), rgb(23, 44, 12).

Aa

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

About this color

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

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

Values

HEX#172C0C
RGBrgb(23, 44, 12)
HSLhsl(99, 57%, 11%)
OKLCHoklch(26.7% 0.06 136.3)

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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CEE0C6

    oklch(88.6% 0.04 135.9)

  4. Step 300

    300

    #ACCC9E

    oklch(81% 0.072 136.2)

  5. Step 400

    400

    #7FB168

    oklch(70.7% 0.114 136.4)

  6. Step 500

    500

    #5E9D3C

    oklch(63.2% 0.146 136.2)

  7. Step 600

    600

    #428712

    oklch(55.6% 0.159 136.4)

  8. Step 700

    700

    #347200

    oklch(49.1% 0.147 136.3)

  9. Step 800

    800

    #2C5D08

    oklch(42.7% 0.122 136.1)

  10. Step 900

    900

    #284C13

    oklch(37.6% 0.094 136.1)

  11. Step 950

    950 (this color)

    #172C0C

    oklch(26.7% 0.06 136.3)

Export this scale for Tailwind in the Tailwind colors tool

#172C0C 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)#2E28090.038
Deuteranopia (no green cones)#2B260E0.038
Tritanopia (no blue cones)#162A250.043
Achromatopsia (no color)#2727270.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #172C0C

    #172C0C

    oklch(26.7% 0.06 136.3)

  • #311B39

    #311B39

    oklch(26.6% 0.061 316.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172C0C

    #172C0C

    oklch(26.7% 0.06 136.3)

  • #292700

    #292700

    oklch(26.6% 0.057 106.8)

  • #002E1F

    #002E1F

    oklch(26.7% 0.056 165.5)

Open the analogous palette in the generator

Split complementary

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

  • #172C0C

    #172C0C

    oklch(26.7% 0.06 136.3)

  • #242041

    #242041

    oklch(26.6% 0.06 287.1)

  • #3A182C

    #3A182C

    oklch(26.7% 0.061 345.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172C0C

    #172C0C

    oklch(26.7% 0.06 136.3)

  • #102642

    #102642

    oklch(26.7% 0.06 255.5)

  • #3E181B

    #3E181B

    oklch(26.7% 0.06 17.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172C0C

    #172C0C

    oklch(26.7% 0.06 136.3)

  • #002A39

    #002A39

    oklch(26.6% 0.052 227.6)

  • #311B39

    #311B39

    oklch(26.6% 0.061 316.5)

  • #3D1B09

    #3D1B09

    oklch(26.8% 0.06 46.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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