#170F04

Closest named color: Almost Black (#070D0D). oklch(17.5% 0.026 77.1), rgb(23, 15, 4).

Aa

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

About this color

#170F04 is a very dark close to neutral grey. In OKLCH its lightness is 18%, its chroma 0.026. 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 18.97:1.

Hue familyNeutrals
Lightnessvery dark (18%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.10:1
White text18.97:1

Values

HEX#170F04
RGBrgb(23, 15, 4)
HSLhsl(35, 70%, 5%)
OKLCHoklch(17.5% 0.026 77.1)

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 #170F04 18.97:1 AAA Lc -107.4 Preferred for body text
Black text on #170F04 1.10:1 Fails Lc 0.0 Not readable
#170F04 text on white 18.97:1 AAA Lc 105.4 Preferred for body text
#170F04 text on black 1.10: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

    #EDE9E3

    oklch(93.5% 0.009 78.3)

  3. Step 200

    200

    #E0D8CD

    oklch(88.6% 0.017 76.1)

  4. Step 300

    300

    #CCBEAB

    oklch(80.8% 0.031 75.6)

  5. Step 400

    400

    #B29D7E

    oklch(70.6% 0.05 77.4)

  6. Step 500

    500

    #9F855E

    oklch(63.1% 0.063 77.3)

  7. Step 600

    600

    #8A6E44

    oklch(55.6% 0.068 76.7)

  8. Step 700

    700

    #755C35

    oklch(49.1% 0.064 77.5)

  9. Step 800

    800

    #5F4B2D

    oklch(42.6% 0.052 76.8)

  10. Step 900

    900

    #4E3F28

    oklch(37.7% 0.041 77.7)

  11. Step 950

    950 (this color)

    #170F04

    oklch(17.5% 0.026 77.1)

Export this scale for Tailwind in the Tailwind colors tool

#170F04 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)#120F030.012
Deuteranopia (no green cones)#1411040.010
Tritanopia (no blue cones)#1A0D0C0.022
Achromatopsia (no color)#1010100.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #170F04

    #170F04

    oklch(17.5% 0.026 77.1)

  • #09111C

    #09111C

    oklch(17.6% 0.026 256.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170F04

    #170F04

    oklch(17.5% 0.026 77.1)

  • #1A0D07

    #1A0D07

    oklch(17.6% 0.026 46.5)

  • #121104

    #121104

    oklch(17.4% 0.026 105.3)

Open the analogous palette in the generator

Split complementary

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

  • #170F04

    #170F04

    oklch(17.5% 0.026 77.1)

  • #041319

    #041319

    oklch(17.6% 0.025 224.8)

  • #100F1B

    #100F1B

    oklch(17.6% 0.025 287.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170F04

    #170F04

    oklch(17.5% 0.026 77.1)

  • #021415

    #021415

    oklch(17.5% 0.026 199.6)

  • #150D18

    #150D18

    oklch(17.5% 0.025 316.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170F04

    #170F04

    oklch(17.5% 0.026 77.1)

  • #05140E

    #05140E

    oklch(17.5% 0.025 166.7)

  • #09111C

    #09111C

    oklch(17.6% 0.026 256.4)

  • #190C13

    #190C13

    oklch(17.6% 0.026 346.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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