#171F02

Closest named color: Dark Forest Green (#002D04). oklch(22.4% 0.051 123), rgb(23, 31, 2).

Aa

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

About this color

#171F02 is a very dark, muted brown. In OKLCH its lightness is 22%, its chroma 0.051 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.053 away. White text reads best on it, at 17.02:1.

Hue familyBrowns
Lightnessvery dark (22%)
Chromamuted (0.051)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.23:1
White text17.02:1

Values

HEX#171F02
RGBrgb(23, 31, 2)
HSLhsl(77, 88%, 6%)
OKLCHoklch(22.4% 0.051 123)

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 #171F02 17.02:1 AAA Lc -106.2 Preferred for body text
Black text on #171F02 1.23:1 Fails Lc 0.0 Not readable
#171F02 text on white 17.02:1 AAA Lc 103.9 Preferred for body text
#171F02 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECDF

    oklch(93.6% 0.018 124)

  3. Step 200

    200

    #D5DDC5

    oklch(88.5% 0.033 122.1)

  4. Step 300

    300

    #B9C89D

    oklch(81% 0.061 123.4)

  5. Step 400

    400

    #95AB66

    oklch(70.8% 0.097 123.3)

  6. Step 500

    500

    #7C9538

    oklch(63.1% 0.123 122.7)

  7. Step 600

    600

    #657F08

    oklch(55.6% 0.134 122.9)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #455703

    oklch(42.6% 0.102 122.5)

  10. Step 900

    900

    #3A4810

    oklch(37.7% 0.08 122.6)

  11. Step 950

    950 (this color)

    #171F02

    oklch(22.4% 0.051 123)

Export this scale for Tailwind in the Tailwind colors tool

#171F02 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)#221C000.022
Deuteranopia (no green cones)#201C040.021
Tritanopia (no blue cones)#191D190.042
Achromatopsia (no color)#1C1C1C0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #171F02

    #171F02

    oklch(22.4% 0.051 123)

  • #20152F

    #20152F

    oklch(22.4% 0.051 302)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171F02

    #171F02

    oklch(22.4% 0.051 123)

  • #231B00

    #231B00

    oklch(22.5% 0.046 93.6)

  • #04220F

    #04220F

    oklch(22.3% 0.051 152.5)

Open the analogous palette in the generator

Split complementary

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

  • #171F02

    #171F02

    oklch(22.4% 0.051 123)

  • #141933

    #141933

    oklch(22.4% 0.051 273.4)

  • #291125

    #291125

    oklch(22.2% 0.051 333.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171F02

    #171F02

    oklch(22.4% 0.051 123)

  • #021D31

    #021D31

    oklch(22.2% 0.051 244)

  • #2E1019

    #2E1019

    oklch(22.4% 0.05 3.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171F02

    #171F02

    oklch(22.4% 0.051 123)

  • #002026

    #002026

    oklch(22.4% 0.039 212.3)

  • #20152F

    #20152F

    oklch(22.4% 0.051 302)

  • #2F110B

    #2F110B

    oklch(22.3% 0.051 32.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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