#22170F

Closest named color: Dark Brown (#341C02). oklch(21.6% 0.023 57.2), rgb(34, 23, 15).

Aa

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

About this color

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

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

Values

HEX#22170F
RGBrgb(34, 23, 15)
HSLhsl(25, 39%, 10%)
OKLCHoklch(21.6% 0.023 57.2)

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 #22170F 17.53:1 AAA Lc -106.6 Preferred for body text
Black text on #22170F 1.19:1 Fails Lc 0.0 Not readable
#22170F text on white 17.53:1 AAA Lc 104.3 Preferred for body text
#22170F 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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE9E5

    oklch(93.7% 0.008 61.4)

  3. Step 200

    200

    #E1D7D0

    oklch(88.5% 0.015 57.6)

  4. Step 300

    300

    #CFBDB0

    oklch(81% 0.027 58.2)

  5. Step 400

    400

    #B69A86

    oklch(70.6% 0.044 57.5)

  6. Step 500

    500

    #A48168

    oklch(63% 0.056 57)

  7. Step 600

    600

    #8F6A50

    oklch(55.5% 0.061 56.2)

  8. Step 700

    700

    #7A5940

    oklch(49.2% 0.057 58.1)

  9. Step 800

    800

    #634935

    oklch(42.8% 0.047 58.6)

  10. Step 900

    900

    #513D2E

    oklch(37.8% 0.037 58.2)

  11. Step 950

    950 (this color)

    #22170F

    oklch(21.6% 0.023 57.2)

Export this scale for Tailwind in the Tailwind colors tool

#22170F 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)#1A180E0.017
Deuteranopia (no green cones)#1D1A0F0.014
Tritanopia (no blue cones)#2515150.016
Achromatopsia (no color)#1919190.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #22170F

    #22170F

    oklch(21.6% 0.023 57.2)

  • #0F1B23

    #0F1B23

    oklch(21.5% 0.023 238.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22170F

    #22170F

    oklch(21.6% 0.023 57.2)

  • #231614

    #231614

    oklch(21.6% 0.022 28.8)

  • #1E190D

    #1E190D

    oklch(21.6% 0.023 87.8)

Open the analogous palette in the generator

Split complementary

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

  • #22170F

    #22170F

    oklch(21.6% 0.023 57.2)

  • #0C1D1F

    #0C1D1F

    oklch(21.7% 0.023 205.4)

  • #151925

    #151925

    oklch(21.5% 0.025 270)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22170F

    #22170F

    oklch(21.6% 0.023 57.2)

  • #0D1D19

    #0D1D19

    oklch(21.5% 0.023 176.2)

  • #1B1723

    #1B1723

    oklch(21.5% 0.024 299.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22170F

    #22170F

    oklch(21.6% 0.023 57.2)

  • #121D13

    #121D13

    oklch(21.7% 0.025 147)

  • #0F1B23

    #0F1B23

    oklch(21.5% 0.023 238.5)

  • #20161F

    #20161F

    oklch(21.7% 0.023 329.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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