#170D02

Closest named color: Almost Black (#070D0D). oklch(16.9% 0.03 73.4), rgb(23, 13, 2).

Aa

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

About this color

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

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

Values

HEX#170D02
RGBrgb(23, 13, 2)
HSLhsl(31, 84%, 5%)
OKLCHoklch(16.9% 0.03 73.4)

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 #170D02 19.18:1 AAA Lc -107.5 Preferred for body text
Black text on #170D02 1.09:1 Fails Lc 0.0 Not readable
#170D02 text on white 19.18:1 AAA Lc 105.5 Preferred for body text
#170D02 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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EEE9E3

    oklch(93.6% 0.01 72.7)

  3. Step 200

    200

    #E1D7CB

    oklch(88.4% 0.02 72.6)

  4. Step 300

    300

    #CFBEA8

    oklch(81% 0.036 74.3)

  5. Step 400

    400

    #B69C7A

    oklch(70.7% 0.056 74.1)

  6. Step 500

    500

    #A48357

    oklch(63.1% 0.072 73.9)

  7. Step 600

    600

    #8F6C3C

    oklch(55.6% 0.079 73.7)

  8. Step 700

    700

    #7A5A2E

    oklch(49.1% 0.074 73.4)

  9. Step 800

    800

    #634A27

    oklch(42.8% 0.061 74.2)

  10. Step 900

    900

    #513E24

    oklch(37.8% 0.048 74.2)

  11. Step 950

    950 (this color)

    #170D02

    oklch(16.9% 0.03 73.4)

Export this scale for Tailwind in the Tailwind colors tool

#170D02 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)#110E010.015
Deuteranopia (no green cones)#1310020.014
Tritanopia (no blue cones)#1A0A0A0.026
Achromatopsia (no color)#0F0F0F0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #170D02

    #170D02

    oklch(16.9% 0.03 73.4)

  • #06101C

    #06101C

    oklch(17% 0.03 252.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170D02

    #170D02

    oklch(16.9% 0.03 73.4)

  • #1A0B05

    #1A0B05

    oklch(17% 0.03 45.3)

  • #121002

    #121002

    oklch(17.1% 0.03 102.9)

Open the analogous palette in the generator

Split complementary

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

  • #170D02

    #170D02

    oklch(16.9% 0.03 73.4)

  • #011219

    #011219

    oklch(17% 0.03 224.3)

  • #0E0D1C

    #0E0D1C

    oklch(16.9% 0.031 285.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170D02

    #170D02

    oklch(16.9% 0.03 73.4)

  • #001313

    #001313

    oklch(16.9% 0.029 194.8)

  • #140B18

    #140B18

    oklch(16.9% 0.03 315)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170D02

    #170D02

    oklch(16.9% 0.03 73.4)

  • #03130C

    #03130C

    oklch(16.9% 0.028 165)

  • #06101C

    #06101C

    oklch(17% 0.03 252.6)

  • #180A13

    #180A13

    oklch(17% 0.029 341.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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