#22170C

Closest named color: Dark Brown (#341C02). oklch(21.5% 0.027 65.6), rgb(34, 23, 12).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.19:1
White text17.56:1

Values

HEX#22170C
RGBrgb(34, 23, 12)
HSLhsl(30, 48%, 9%)
OKLCHoklch(21.5% 0.027 65.6)

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 #22170C 17.56:1 AAA Lc -106.6 Preferred for body text
Black text on #22170C 1.19:1 Fails Lc 0.0 Not readable
#22170C text on white 17.56:1 AAA Lc 104.4 Preferred for body text
#22170C text on black 1.19: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

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E1D7CD

    oklch(88.4% 0.018 67.6)

  4. Step 300

    300

    #CFBDAC

    oklch(80.9% 0.031 65.7)

  5. Step 400

    400

    #B79B80

    oklch(70.8% 0.05 65.8)

  6. Step 500

    500

    #A58260

    oklch(63.2% 0.064 65.4)

  7. Step 600

    600

    #906B46

    oklch(55.6% 0.07 65.5)

  8. Step 700

    700

    #7A5938

    oklch(49.1% 0.065 65.4)

  9. Step 800

    800

    #63492E

    oklch(42.7% 0.054 66.6)

  10. Step 900

    900

    #513D29

    oklch(37.7% 0.042 66)

  11. Step 950

    950 (this color)

    #22170C

    oklch(21.5% 0.027 65.6)

Export this scale for Tailwind in the Tailwind colors tool

#22170C 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)#1B180B0.015
Deuteranopia (no green cones)#1D1A0C0.014
Tritanopia (no blue cones)#2515140.019
Achromatopsia (no color)#1919190.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #22170C

    #22170C

    oklch(21.5% 0.027 65.6)

  • #0F1B25

    #0F1B25

    oklch(21.6% 0.026 244.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22170C

    #22170C

    oklch(21.5% 0.027 65.6)

  • #241511

    #241511

    oklch(21.5% 0.026 35.6)

  • #1D190B

    #1D190B

    oklch(21.4% 0.026 94)

Open the analogous palette in the generator

Split complementary

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

  • #22170C

    #22170C

    oklch(21.5% 0.027 65.6)

  • #091D21

    #091D21

    oklch(21.6% 0.027 212.4)

  • #161926

    #161926

    oklch(21.7% 0.026 274)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22170C

    #22170C

    oklch(21.5% 0.027 65.6)

  • #091E1B

    #091E1B

    oklch(21.7% 0.028 183.2)

  • #1C1623

    #1C1623

    oklch(21.4% 0.027 305.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22170C

    #22170C

    oklch(21.5% 0.027 65.6)

  • #0F1D14

    #0F1D14

    oklch(21.5% 0.026 155.3)

  • #0F1B25

    #0F1B25

    oklch(21.6% 0.026 244.6)

  • #21151E

    #21151E

    oklch(21.5% 0.025 335.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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