#24170B

Closest named color: Dark Brown (#341C02). oklch(21.8% 0.03 62.9), rgb(36, 23, 11).

Aa

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

About this color

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

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

Values

HEX#24170B
RGBrgb(36, 23, 11)
HSLhsl(29, 53%, 9%)
OKLCHoklch(21.8% 0.03 62.9)

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 #24170B 17.46:1 AAA Lc -106.5 Preferred for body text
Black text on #24170B 1.20:1 Fails Lc 0.0 Not readable
#24170B text on white 17.46:1 AAA Lc 104.3 Preferred for body text
#24170B text on black 1.20: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

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #EFE8E3

    oklch(93.5% 0.01 58.2)

  3. Step 200

    200

    #E3D7CC

    oklch(88.6% 0.02 65.1)

  4. Step 300

    300

    #D2BCAA

    oklch(80.9% 0.035 61.6)

  5. Step 400

    400

    #BB997C

    oklch(70.7% 0.057 62.2)

  6. Step 500

    500

    #A9805B

    oklch(63.1% 0.072 63)

  7. Step 600

    600

    #946941

    oklch(55.6% 0.078 63)

  8. Step 700

    700

    #7E5733

    oklch(49.1% 0.073 62.5)

  9. Step 800

    800

    #67472A

    oklch(42.7% 0.061 62.2)

  10. Step 900

    900

    #543C27

    oklch(37.8% 0.047 61.8)

  11. Step 950

    950 (this color)

    #24170B

    oklch(21.8% 0.03 62.9)

Export this scale for Tailwind in the Tailwind colors tool

#24170B 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)#1B180A0.020
Deuteranopia (no green cones)#1E1B0B0.018
Tritanopia (no blue cones)#2814140.023
Achromatopsia (no color)#1A1A1A0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #24170B

    #24170B

    oklch(21.8% 0.03 62.9)

  • #0D1C27

    #0D1C27

    oklch(21.9% 0.03 241.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24170B

    #24170B

    oklch(21.8% 0.03 62.9)

  • #261511

    #261511

    oklch(21.8% 0.029 33.9)

  • #1F1A09

    #1F1A09

    oklch(21.9% 0.03 93.4)

Open the analogous palette in the generator

Split complementary

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

  • #24170B

    #24170B

    oklch(21.8% 0.03 62.9)

  • #071E22

    #071E22

    oklch(21.9% 0.03 210.6)

  • #151928

    #151928

    oklch(21.7% 0.03 272.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24170B

    #24170B

    oklch(21.8% 0.03 62.9)

  • #081F1B

    #081F1B

    oklch(21.9% 0.03 180.3)

  • #1D1726

    #1D1726

    oklch(21.9% 0.03 302.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24170B

    #24170B

    oklch(21.8% 0.03 62.9)

  • #0F1E13

    #0F1E13

    oklch(21.7% 0.03 151.7)

  • #0D1C27

    #0D1C27

    oklch(21.9% 0.03 241.7)

  • #221520

    #221520

    oklch(21.8% 0.029 332)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #24170B 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.