#171E02

Closest named color: Dark Forest Green (#002D04). oklch(22% 0.049 121.8), rgb(23, 30, 2).

Aa

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

About this color

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

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

Values

HEX#171E02
RGBrgb(23, 30, 2)
HSLhsl(75, 88%, 6%)
OKLCHoklch(22% 0.049 121.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 #171E02 17.17:1 AAA Lc -106.3 Preferred for body text
Black text on #171E02 1.22:1 Fails Lc 0.0 Not readable
#171E02 text on white 17.17:1 AAA Lc 104.0 Preferred for body text
#171E02 text on black 1.22: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

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D5DDC6

    oklch(88.5% 0.032 122.7)

  4. Step 300

    300

    #BAC79D

    oklch(80.9% 0.059 121.7)

  5. Step 400

    400

    #97AA67

    oklch(70.7% 0.093 121.7)

  6. Step 500

    500

    #7E943A

    oklch(63% 0.119 121.5)

  7. Step 600

    600

    #677E0E

    oklch(55.5% 0.13 121.8)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465706

    oklch(42.7% 0.1 122)

  10. Step 900

    900

    #3B4812

    oklch(37.8% 0.078 121.9)

  11. Step 950

    950 (this color)

    #171E02

    oklch(22% 0.049 121.8)

Export this scale for Tailwind in the Tailwind colors tool

#171E02 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)#211B000.020
Deuteranopia (no green cones)#201B030.020
Tritanopia (no blue cones)#191C180.041
Achromatopsia (no color)#1B1B1B0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #171E02

    #171E02

    oklch(22% 0.049 121.8)

  • #1F142E

    #1F142E

    oklch(22% 0.051 301.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171E02

    #171E02

    oklch(22% 0.049 121.8)

  • #221A00

    #221A00

    oklch(22.1% 0.045 93.2)

  • #05210F

    #05210F

    oklch(22.1% 0.049 152.4)

Open the analogous palette in the generator

Split complementary

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

  • #171E02

    #171E02

    oklch(22% 0.049 121.8)

  • #131931

    #131931

    oklch(22.1% 0.048 271.4)

  • #281125

    #281125

    oklch(22.1% 0.05 332.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171E02

    #171E02

    oklch(22% 0.049 121.8)

  • #021D2F

    #021D2F

    oklch(22.1% 0.048 241.3)

  • #2D1019

    #2D1019

    oklch(22.2% 0.049 2.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171E02

    #171E02

    oklch(22% 0.049 121.8)

  • #001F25

    #001F25

    oklch(22% 0.038 212.7)

  • #1F142E

    #1F142E

    oklch(22% 0.051 301.9)

  • #2E110B

    #2E110B

    oklch(22.1% 0.049 33.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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