#22170E

Closest named color: Dark Brown (#341C02). oklch(21.6% 0.024 60.3), rgb(34, 23, 14).

Aa

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

About this color

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

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

Values

HEX#22170E
RGBrgb(34, 23, 14)
HSLhsl(27, 42%, 9%)
OKLCHoklch(21.6% 0.024 60.3)

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

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E1D7CF

    oklch(88.5% 0.016 61.3)

  4. Step 300

    300

    #CFBDAE

    oklch(80.9% 0.029 62.2)

  5. Step 400

    400

    #B79A84

    oklch(70.6% 0.046 59.1)

  6. Step 500

    500

    #A48165

    oklch(63% 0.059 60.1)

  7. Step 600

    600

    #8F6B4D

    oklch(55.7% 0.063 60.8)

  8. Step 700

    700

    #7A593D

    oklch(49.2% 0.06 61.1)

  9. Step 800

    800

    #634933

    oklch(42.8% 0.049 61.2)

  10. Step 900

    900

    #513D2D

    oklch(37.7% 0.038 59.9)

  11. Step 950

    950 (this color)

    #22170E

    oklch(21.6% 0.024 60.3)

Export this scale for Tailwind in the Tailwind colors tool

#22170E 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)#1A180D0.017
Deuteranopia (no green cones)#1D1A0E0.014
Tritanopia (no blue cones)#2515150.018
Achromatopsia (no color)#1919190.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #22170E

    #22170E

    oklch(21.6% 0.024 60.3)

  • #0F1B24

    #0F1B24

    oklch(21.5% 0.025 241.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22170E

    #22170E

    oklch(21.6% 0.024 60.3)

  • #241513

    #241513

    oklch(21.5% 0.025 27.7)

  • #1E190C

    #1E190C

    oklch(21.5% 0.024 89.2)

Open the analogous palette in the generator

Split complementary

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

  • #22170E

    #22170E

    oklch(21.6% 0.024 60.3)

  • #0B1D20

    #0B1D20

    oklch(21.7% 0.024 209.4)

  • #151925

    #151925

    oklch(21.5% 0.025 270)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22170E

    #22170E

    oklch(21.6% 0.024 60.3)

  • #0C1D1A

    #0C1D1A

    oklch(21.5% 0.024 181.3)

  • #1B1723

    #1B1723

    oklch(21.5% 0.024 299.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22170E

    #22170E

    oklch(21.6% 0.024 60.3)

  • #111D14

    #111D14

    oklch(21.6% 0.025 151.7)

  • #0F1B24

    #0F1B24

    oklch(21.5% 0.025 241.7)

  • #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 #22170E, closest first.

Similar named colors

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

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