#171F0E

Closest named color: Jet (#212529). oklch(22.6% 0.033 129.3), rgb(23, 31, 14).

Aa

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

About this color

#171F0E is a very dark, muted green. In OKLCH its lightness is 23%, its chroma 0.033 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.053 away. White text reads best on it, at 16.95:1.

Hue familyGreens
Lightnessvery dark (23%)
Chromamuted (0.033)
Temperaturein between
Nearest nameJet (#212529)
Black text1.23:1
White text16.95:1

Values

HEX#171F0E
RGBrgb(23, 31, 14)
HSLhsl(88, 38%, 9%)
OKLCHoklch(22.6% 0.033 129.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 #171F0E 16.95:1 AAA Lc -106.2 Preferred for body text
Black text on #171F0E 1.23:1 Fails Lc 0.0 Not readable
#171F0E text on white 16.95:1 AAA Lc 103.8 Preferred for body text
#171F0E text on black 1.23: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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E7EBE4

    oklch(93.5% 0.01 131.4)

  3. Step 200

    200

    #D5DCCD

    oklch(88.5% 0.022 127.4)

  4. Step 300

    300

    #B9C6AC

    oklch(80.9% 0.038 129)

  5. Step 400

    400

    #94A97F

    oklch(70.7% 0.064 129.5)

  6. Step 500

    500

    #7A935F

    oklch(63% 0.079 129.3)

  7. Step 600

    600

    #637D45

    oklch(55.5% 0.086 129.2)

  8. Step 700

    700

    #526A36

    oklch(49.2% 0.082 129.3)

  9. Step 800

    800

    #43562D

    oklch(42.6% 0.067 129.2)

  10. Step 900

    900

    #394729

    oklch(37.7% 0.052 129)

  11. Step 950

    950 (this color)

    #171F0E

    oklch(22.6% 0.033 129.3)

Export this scale for Tailwind in the Tailwind colors tool

#171F0E 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)#211D0D0.019
Deuteranopia (no green cones)#1F1C0F0.018
Tritanopia (no blue cones)#181E1B0.025
Achromatopsia (no color)#1C1C1C0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #171F0E

    #171F0E

    oklch(22.6% 0.033 129.3)

  • #211828

    #211828

    oklch(22.8% 0.033 309.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171F0E

    #171F0E

    oklch(22.6% 0.033 129.3)

  • #201C09

    #201C09

    oklch(22.6% 0.033 97.7)

  • #0D2116

    #0D2116

    oklch(22.7% 0.034 158)

Open the analogous palette in the generator

Split complementary

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

  • #171F0E

    #171F0E

    oklch(22.6% 0.033 129.3)

  • #191A2B

    #191A2B

    oklch(22.6% 0.033 280.8)

  • #261621

    #261621

    oklch(22.6% 0.032 338.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171F0E

    #171F0E

    oklch(22.6% 0.033 129.3)

  • #0F1D2B

    #0F1D2B

    oklch(22.5% 0.034 249.5)

  • #291519

    #291519

    oklch(22.5% 0.033 7.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171F0E

    #171F0E

    oklch(22.6% 0.033 129.3)

  • #072026

    #072026

    oklch(22.7% 0.033 216.2)

  • #211828

    #211828

    oklch(22.8% 0.033 309.6)

  • #291610

    #291610

    oklch(22.5% 0.033 38.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #171F0E 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.