#171F05

Closest named color: Dark Forest Green (#002D04). oklch(22.4% 0.046 124.2), rgb(23, 31, 5).

Aa

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

About this color

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

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

Values

HEX#171F05
RGBrgb(23, 31, 5)
HSLhsl(78, 72%, 7%)
OKLCHoklch(22.4% 0.046 124.2)

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

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D5DDC7

    oklch(88.5% 0.031 123.3)

  4. Step 300

    300

    #B9C7A1

    oklch(80.9% 0.054 124)

  5. Step 400

    400

    #95AA6D

    oklch(70.7% 0.087 124)

  6. Step 500

    500

    #7B9544

    oklch(63.2% 0.112 124.3)

  7. Step 600

    600

    #647F22

    oklch(55.7% 0.122 124.5)

  8. Step 700

    700

    #536B14

    oklch(49.1% 0.113 124.4)

  9. Step 800

    800

    #445714

    oklch(42.6% 0.093 124.2)

  10. Step 900

    900

    #394819

    oklch(37.7% 0.073 124.7)

  11. Step 950

    950 (this color)

    #171F05

    oklch(22.4% 0.046 124.2)

Export this scale for Tailwind in the Tailwind colors tool

#171F05 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)#211C030.020
Deuteranopia (no green cones)#201C060.020
Tritanopia (no blue cones)#191D190.037
Achromatopsia (no color)#1C1C1C0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #171F05

    #171F05

    oklch(22.4% 0.046 124.2)

  • #20162D

    #20162D

    oklch(22.5% 0.045 303)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171F05

    #171F05

    oklch(22.4% 0.046 124.2)

  • #231B00

    #231B00

    oklch(22.5% 0.046 93.6)

  • #062211

    #062211

    oklch(22.5% 0.047 153.7)

Open the analogous palette in the generator

Split complementary

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

  • #171F05

    #171F05

    oklch(22.4% 0.046 124.2)

  • #151931

    #151931

    oklch(22.3% 0.047 274.8)

  • #281324

    #281324

    oklch(22.4% 0.045 334.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171F05

    #171F05

    oklch(22.4% 0.046 124.2)

  • #051D2F

    #051D2F

    oklch(22.2% 0.046 244.2)

  • #2D1119

    #2D1119

    oklch(22.4% 0.047 3.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171F05

    #171F05

    oklch(22.4% 0.046 124.2)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

  • #20162D

    #20162D

    oklch(22.5% 0.045 303)

  • #2E130C

    #2E130C

    oklch(22.6% 0.046 35.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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