#171C04

Closest named color: Dark Brown (#341C02). oklch(21.5% 0.043 119.6), rgb(23, 28, 4).

Aa

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

About this color

#171C04 is a very dark, muted brown. In OKLCH its lightness is 21%, its chroma 0.043 and its hue 120°. 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.43:1.

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

Values

HEX#171C04
RGBrgb(23, 28, 4)
HSLhsl(73, 75%, 6%)
OKLCHoklch(21.5% 0.043 119.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 #171C04 17.43:1 AAA Lc -106.5 Preferred for body text
Black text on #171C04 1.20:1 Fails Lc 0.0 Not readable
#171C04 text on white 17.43:1 AAA Lc 104.2 Preferred for body text
#171C04 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BCC6A2

    oklch(80.9% 0.05 120.1)

  5. Step 400

    400

    #9AA86E

    oklch(70.6% 0.081 119.6)

  6. Step 500

    500

    #829247

    oklch(63% 0.102 119.4)

  7. Step 600

    600

    #6C7C26

    oklch(55.6% 0.111 119.3)

  8. Step 700

    700

    #5A6918

    oklch(49.2% 0.104 119.7)

  9. Step 800

    800

    #495517

    oklch(42.5% 0.086 119.7)

  10. Step 900

    900

    #3D471A

    oklch(37.8% 0.068 120.2)

  11. Step 950

    950 (this color)

    #171C04

    oklch(21.5% 0.043 119.6)

Export this scale for Tailwind in the Tailwind colors tool

#171C04 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)#1E1A020.014
Deuteranopia (no green cones)#1E1A050.016
Tritanopia (no blue cones)#191A170.037
Achromatopsia (no color)#1A1A1A0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #171C04

    #171C04

    oklch(21.5% 0.043 119.6)

  • #1C142A

    #1C142A

    oklch(21.3% 0.043 299.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #171C04

    #171C04

    oklch(21.5% 0.043 119.6)

  • #211801

    #211801

    oklch(21.4% 0.042 89.1)

  • #091F0E

    #091F0E

    oklch(21.6% 0.043 149)

Open the analogous palette in the generator

Split complementary

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

  • #171C04

    #171C04

    oklch(21.5% 0.043 119.6)

  • #12182D

    #12182D

    oklch(21.5% 0.042 270.5)

  • #241223

    #241223

    oklch(21.5% 0.042 328.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #171C04

    #171C04

    oklch(21.5% 0.043 119.6)

  • #041C2B

    #041C2B

    oklch(21.6% 0.042 239.3)

  • #291019

    #291019

    oklch(21.5% 0.043 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #171C04

    #171C04

    oklch(21.5% 0.043 119.6)

  • #001E23

    #001E23

    oklch(21.5% 0.037 210.1)

  • #1C142A

    #1C142A

    oklch(21.3% 0.043 299.5)

  • #2A110D

    #2A110D

    oklch(21.4% 0.043 30.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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