#171C07

Closest named color: Dark Brown (#341C02). oklch(21.5% 0.038 120.6), rgb(23, 28, 7).

Aa

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

About this color

#171C07 is a very dark, muted brown. In OKLCH its lightness is 22%, its chroma 0.038 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.060 away. White text reads best on it, at 17.41:1.

Hue familyBrowns
Lightnessvery dark (22%)
Chromamuted (0.038)
Temperaturein between
Nearest nameDark Brown (#341C02)
Black text1.20:1
White text17.41:1

Values

HEX#171C07
RGBrgb(23, 28, 7)
HSLhsl(74, 60%, 7%)
OKLCHoklch(21.5% 0.038 120.6)

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 #171C07 17.41:1 AAA Lc -106.5 Preferred for body text
Black text on #171C07 1.20:1 Fails Lc 0.0 Not readable
#171C07 text on white 17.41:1 AAA Lc 104.2 Preferred for body text
#171C07 text on black 1.20: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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCCA

    oklch(88.5% 0.025 122)

  4. Step 300

    300

    #BCC5A6

    oklch(80.8% 0.043 120.5)

  5. Step 400

    400

    #9AA875

    oklch(70.8% 0.072 120.7)

  6. Step 500

    500

    #829251

    oklch(63.2% 0.091 120.4)

  7. Step 600

    600

    #6B7C34

    oklch(55.6% 0.1 120.8)

  8. Step 700

    700

    #596827

    oklch(49% 0.091 120.8)

  9. Step 800

    800

    #495522

    oklch(42.7% 0.076 120.7)

  10. Step 900

    900

    #3D4621

    oklch(37.6% 0.058 120.5)

  11. Step 950

    950 (this color)

    #171C07

    oklch(21.5% 0.038 120.6)

Export this scale for Tailwind in the Tailwind colors tool

#171C07 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)#1E1A050.014
Deuteranopia (no green cones)#1E1A080.015
Tritanopia (no blue cones)#191A170.032
Achromatopsia (no color)#1A1A1A0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #171C07

    #171C07

    oklch(21.5% 0.038 120.6)

  • #1C1528

    #1C1528

    oklch(21.4% 0.038 300.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171C07

    #171C07

    oklch(21.5% 0.038 120.6)

  • #201904

    #201904

    oklch(21.6% 0.037 91.6)

  • #0B1E10

    #0B1E10

    oklch(21.4% 0.037 150.7)

Open the analogous palette in the generator

Split complementary

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

  • #171C07

    #171C07

    oklch(21.5% 0.038 120.6)

  • #13182B

    #13182B

    oklch(21.4% 0.038 271.7)

  • #231322

    #231322

    oklch(21.6% 0.037 329)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171C07

    #171C07

    oklch(21.5% 0.038 120.6)

  • #071B29

    #071B29

    oklch(21.3% 0.038 241.7)

  • #271218

    #271218

    oklch(21.5% 0.036 2.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171C07

    #171C07

    oklch(21.5% 0.038 120.6)

  • #001E23

    #001E23

    oklch(21.5% 0.037 210.1)

  • #1C1528

    #1C1528

    oklch(21.4% 0.038 300.2)

  • #28120F

    #28120F

    oklch(21.4% 0.037 28.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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