#20170C

Closest named color: Dark Brown (#341C02). oklch(21.3% 0.025 71.5), rgb(32, 23, 12).

Aa

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

About this color

#20170C is a very dark close to neutral grey. In OKLCH its lightness is 21%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.051 away. White text reads best on it, at 17.65:1.

Hue familyNeutrals
Lightnessvery dark (21%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.18:1
White text17.65:1

Values

HEX#20170C
RGBrgb(32, 23, 12)
HSLhsl(33, 45%, 9%)
OKLCHoklch(21.3% 0.025 71.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 #20170C 17.65:1 AAA Lc -106.7 Preferred for body text
Black text on #20170C 1.18:1 Fails Lc 0.0 Not readable
#20170C text on white 17.65:1 AAA Lc 104.4 Preferred for body text
#20170C text on black 1.18: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

    #EDE9E4

    oklch(93.6% 0.008 73.7)

  3. Step 200

    200

    #E0D8CE

    oklch(88.6% 0.016 73.7)

  4. Step 300

    300

    #CDBEAD

    oklch(80.9% 0.029 70.9)

  5. Step 400

    400

    #B39C81

    oklch(70.6% 0.047 71.4)

  6. Step 500

    500

    #A08462

    oklch(63.1% 0.059 71.9)

  7. Step 600

    600

    #8B6D48

    oklch(55.5% 0.065 71.7)

  8. Step 700

    700

    #765B3A

    oklch(49.1% 0.059 71.3)

  9. Step 800

    800

    #604B30

    oklch(42.8% 0.05 72.9)

  10. Step 900

    900

    #4F3E2A

    oklch(37.7% 0.04 70.7)

  11. Step 950

    950 (this color)

    #20170C

    oklch(21.3% 0.025 71.5)

Export this scale for Tailwind in the Tailwind colors tool

#20170C 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)#1A170B0.013
Deuteranopia (no green cones)#1C190C0.011
Tritanopia (no blue cones)#2315140.019
Achromatopsia (no color)#1919190.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #20170C

    #20170C

    oklch(21.3% 0.025 71.5)

  • #101A24

    #101A24

    oklch(21.3% 0.025 249)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20170C

    #20170C

    oklch(21.3% 0.025 71.5)

  • #231510

    #231510

    oklch(21.3% 0.025 40.5)

  • #1B190C

    #1B190C

    oklch(21.2% 0.024 100.6)

Open the analogous palette in the generator

Split complementary

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

  • #20170C

    #20170C

    oklch(21.3% 0.025 71.5)

  • #0B1B21

    #0B1B21

    oklch(21.1% 0.025 224.3)

  • #171824

    #171824

    oklch(21.4% 0.024 280.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20170C

    #20170C

    oklch(21.3% 0.025 71.5)

  • #0A1C1C

    #0A1C1C

    oklch(21.1% 0.024 195.5)

  • #1D1621

    #1D1621

    oklch(21.4% 0.024 313)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20170C

    #20170C

    oklch(21.3% 0.025 71.5)

  • #0E1C15

    #0E1C15

    oklch(21.1% 0.024 161.6)

  • #101A24

    #101A24

    oklch(21.3% 0.025 249)

  • #21141C

    #21141C

    oklch(21.2% 0.026 342)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20170C 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.