#170D04

Closest named color: Almost Black (#070D0D). oklch(17% 0.026 66.2), rgb(23, 13, 4).

Aa

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

About this color

#170D04 is a very dark close to neutral grey. In OKLCH its lightness is 17%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.038 away. White text reads best on it, at 19.16:1.

Hue familyNeutrals
Lightnessvery dark (17%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.09:1
White text19.16:1

Values

HEX#170D04
RGBrgb(23, 13, 4)
HSLhsl(28, 70%, 5%)
OKLCHoklch(17% 0.026 66.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 #170D04 19.16:1 AAA Lc -107.5 Preferred for body text
Black text on #170D04 1.09:1 Fails Lc 0.0 Not readable
#170D04 text on white 19.16:1 AAA Lc 105.5 Preferred for body text
#170D04 text on black 1.09: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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E1D7CE

    oklch(88.5% 0.016 64.6)

  4. Step 300

    300

    #CFBDAC

    oklch(80.9% 0.031 65.7)

  5. Step 400

    400

    #B69B81

    oklch(70.7% 0.049 65.8)

  6. Step 500

    500

    #A48261

    oklch(63.1% 0.063 65.4)

  7. Step 600

    600

    #8F6B47

    oklch(55.6% 0.069 65.6)

  8. Step 700

    700

    #795939

    oklch(49% 0.063 65.5)

  9. Step 800

    800

    #63492F

    oklch(42.7% 0.053 65.6)

  10. Step 900

    900

    #513D2A

    oklch(37.7% 0.041 64.6)

  11. Step 950

    950 (this color)

    #170D04

    oklch(17% 0.026 66.2)

Export this scale for Tailwind in the Tailwind colors tool

#170D04 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)#100E030.017
Deuteranopia (no green cones)#1310040.014
Tritanopia (no blue cones)#1A0B0B0.021
Achromatopsia (no color)#0F0F0F0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #170D04

    #170D04

    oklch(17% 0.026 66.2)

  • #06101A

    #06101A

    oklch(16.9% 0.026 248.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170D04

    #170D04

    oklch(17% 0.026 66.2)

  • #190B08

    #190B08

    oklch(16.9% 0.026 33.4)

  • #130F03

    #130F03

    oklch(16.9% 0.026 94)

Open the analogous palette in the generator

Split complementary

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

  • #170D04

    #170D04

    oklch(17% 0.026 66.2)

  • #021217

    #021217

    oklch(17% 0.026 218.4)

  • #0C0E1B

    #0C0E1B

    oklch(16.9% 0.027 276.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170D04

    #170D04

    oklch(17% 0.026 66.2)

  • #021311

    #021311

    oklch(17% 0.026 185.8)

  • #120C18

    #120C18

    oklch(16.9% 0.026 306.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170D04

    #170D04

    oklch(17% 0.026 66.2)

  • #06130B

    #06130B

    oklch(17.1% 0.026 156.5)

  • #06101A

    #06101A

    oklch(16.9% 0.026 248.3)

  • #160B14

    #160B14

    oklch(17% 0.026 333.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #170D04 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.