#18170E

Closest named color: Rich Black (#0D1B2A). oklch(20.3% 0.017 102.5), rgb(24, 23, 14).

Aa

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

About this color

#18170E is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.053 away. White text reads best on it, at 17.98:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text17.98:1

Values

HEX#18170E
RGBrgb(24, 23, 14)
HSLhsl(54, 26%, 7%)
OKLCHoklch(20.3% 0.017 102.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 #18170E 17.98:1 AAA Lc -106.9 Preferred for body text
Black text on #18170E 1.16:1 Fails Lc 0.0 Not readable
#18170E text on white 17.98:1 AAA Lc 104.7 Preferred for body text
#18170E text on black 1.16: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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #DAD9D1

    oklch(88.4% 0.011 100.8)

  4. Step 300

    300

    #C3C1B3

    oklch(80.9% 0.019 100.2)

  5. Step 400

    400

    #A4A28B

    oklch(70.8% 0.032 103.1)

  6. Step 500

    500

    #8E8B6E

    oklch(63.1% 0.042 102.6)

  7. Step 600

    600

    #787556

    oklch(55.7% 0.045 103.1)

  8. Step 700

    700

    #656246

    oklch(49.1% 0.042 102.7)

  9. Step 800

    800

    #52503A

    oklch(42.7% 0.034 103.4)

  10. Step 900

    900

    #444232

    oklch(37.6% 0.026 101.6)

  11. Step 950

    950 (this color)

    #18170E

    oklch(20.3% 0.017 102.5)

Export this scale for Tailwind in the Tailwind colors tool

#18170E 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)#19160D0.004
Deuteranopia (no green cones)#19170E0.002
Tritanopia (no blue cones)#1A16150.016
Achromatopsia (no color)#1717170.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #18170E

    #18170E

    oklch(20.3% 0.017 102.5)

  • #15161E

    #15161E

    oklch(20.3% 0.016 279.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18170E

    #18170E

    oklch(20.3% 0.017 102.5)

  • #1B150E

    #1B150E

    oklch(20.1% 0.016 71)

  • #141810

    #141810

    oklch(20.2% 0.017 129.4)

Open the analogous palette in the generator

Split complementary

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

  • #18170E

    #18170E

    oklch(20.3% 0.017 102.5)

  • #11171E

    #11171E

    oklch(20.2% 0.017 252.5)

  • #19141C

    #19141C

    oklch(20.1% 0.017 312.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18170E

    #18170E

    oklch(20.3% 0.017 102.5)

  • #0E181C

    #0E181C

    oklch(20.1% 0.017 224.7)

  • #1C1419

    #1C1419

    oklch(20.3% 0.016 340.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18170E

    #18170E

    oklch(20.3% 0.017 102.5)

  • #0D1919

    #0D1919

    oklch(20.2% 0.017 195.9)

  • #15161E

    #15161E

    oklch(20.3% 0.016 279.3)

  • #1E1414

    #1E1414

    oklch(20.4% 0.017 18.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18170E 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.