#171E04

Closest named color: Dark Forest Green (#002D04). oklch(22.1% 0.046 122.5), rgb(23, 30, 4).

Aa

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

About this color

#171E04 is a very dark, muted brown. In OKLCH its lightness is 22%, its chroma 0.046 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.058 away. White text reads best on it, at 17.15:1.

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

Values

HEX#171E04
RGBrgb(23, 30, 4)
HSLhsl(76, 76%, 7%)
OKLCHoklch(22.1% 0.046 122.5)

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 #171E04 17.15:1 AAA Lc -106.3 Preferred for body text
Black text on #171E04 1.22:1 Fails Lc 0.0 Not readable
#171E04 text on white 17.15:1 AAA Lc 104.0 Preferred for body text
#171E04 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

    #D5DDC7

    oklch(88.5% 0.031 123.3)

  4. Step 300

    300

    #BAC7A0

    oklch(80.9% 0.055 122.6)

  5. Step 400

    400

    #97AA6C

    oklch(70.8% 0.087 122.5)

  6. Step 500

    500

    #7E9443

    oklch(63.1% 0.111 122.2)

  7. Step 600

    600

    #677E20

    oklch(55.6% 0.121 122.5)

  8. Step 700

    700

    #566A11

    oklch(49.1% 0.112 122.2)

  9. Step 800

    800

    #465712

    oklch(42.8% 0.094 122.7)

  10. Step 900

    900

    #3B4818

    oklch(37.9% 0.073 122.7)

  11. Step 950

    950 (this color)

    #171E04

    oklch(22.1% 0.046 122.5)

Export this scale for Tailwind in the Tailwind colors tool

#171E04 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)#201C020.017
Deuteranopia (no green cones)#1F1B050.019
Tritanopia (no blue cones)#191C180.037
Achromatopsia (no color)#1B1B1B0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #171E04

    #171E04

    oklch(22.1% 0.046 122.5)

  • #1F152C

    #1F152C

    oklch(22.1% 0.045 302.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171E04

    #171E04

    oklch(22.1% 0.046 122.5)

  • #221A00

    #221A00

    oklch(22.1% 0.045 93.2)

  • #072110

    #072110

    oklch(22.2% 0.046 152.3)

Open the analogous palette in the generator

Split complementary

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

  • #171E04

    #171E04

    oklch(22.1% 0.046 122.5)

  • #141930

    #141930

    oklch(22.2% 0.046 272.9)

  • #271224

    #271224

    oklch(22.1% 0.046 332.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171E04

    #171E04

    oklch(22.1% 0.046 122.5)

  • #041D2E

    #041D2E

    oklch(22.1% 0.046 241.7)

  • #2C1119

    #2C1119

    oklch(22.2% 0.046 2.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171E04

    #171E04

    oklch(22.1% 0.046 122.5)

  • #001F25

    #001F25

    oklch(22% 0.038 212.7)

  • #1F152C

    #1F152C

    oklch(22.1% 0.045 302.9)

  • #2D120C

    #2D120C

    oklch(22.2% 0.046 33.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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