#170C06

Closest named color: Almost Black (#070D0D). oklch(16.8% 0.023 51.5), rgb(23, 12, 6).

Aa

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

About this color

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

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

Values

HEX#170C06
RGBrgb(23, 12, 6)
HSLhsl(21, 59%, 6%)
OKLCHoklch(16.8% 0.023 51.5)

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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EEE8E5

    oklch(93.5% 0.008 48.7)

  3. Step 200

    200

    #E2D7D0

    oklch(88.6% 0.015 54.9)

  4. Step 300

    300

    #D0BCB1

    oklch(80.9% 0.028 50.8)

  5. Step 400

    400

    #B89988

    oklch(70.6% 0.044 50.4)

  6. Step 500

    500

    #A6806B

    oklch(63.1% 0.056 50.3)

  7. Step 600

    600

    #906952

    oklch(55.5% 0.061 51.6)

  8. Step 700

    700

    #7B5843

    oklch(49.2% 0.056 52)

  9. Step 800

    800

    #644837

    oklch(42.8% 0.047 52.3)

  10. Step 900

    900

    #523C30

    oklch(37.7% 0.037 49.8)

  11. Step 950

    950 (this color)

    #170C06

    oklch(16.8% 0.023 51.5)

Export this scale for Tailwind in the Tailwind colors tool

#170C06 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)#0F0D060.018
Deuteranopia (no green cones)#120F060.015
Tritanopia (no blue cones)#1A0A0A0.015
Achromatopsia (no color)#0F0F0F0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #170C06

    #170C06

    oklch(16.8% 0.023 51.5)

  • #051117

    #051117

    oklch(16.9% 0.022 229.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170C06

    #170C06

    oklch(16.8% 0.023 51.5)

  • #180B0A

    #180B0A

    oklch(16.8% 0.023 24.6)

  • #140E04

    #140E04

    oklch(16.8% 0.023 82.5)

Open the analogous palette in the generator

Split complementary

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

  • #170C06

    #170C06

    oklch(16.8% 0.023 51.5)

  • #031213

    #031213

    oklch(16.8% 0.023 200.5)

  • #090F19

    #090F19

    oklch(16.8% 0.023 260.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170C06

    #170C06

    oklch(16.8% 0.023 51.5)

  • #04120E

    #04120E

    oklch(16.7% 0.023 174.3)

  • #0F0D18

    #0F0D18

    oklch(16.7% 0.023 292.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170C06

    #170C06

    oklch(16.8% 0.023 51.5)

  • #091208

    #091208

    oklch(16.9% 0.025 141.8)

  • #051117

    #051117

    oklch(16.9% 0.022 229.9)

  • #140C15

    #140C15

    oklch(17% 0.022 322.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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