#2B170C

Closest named color: Dark Brown (#341C02). oklch(22.9% 0.038 48.9), rgb(43, 23, 12).

Aa

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

About this color

#2B170C is a very dark, muted brown. In OKLCH its lightness is 23%, its chroma 0.038 and its hue 49°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.032 away. White text reads best on it, at 17.06:1.

Hue familyBrowns
Lightnessvery dark (23%)
Chromamuted (0.038)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.23:1
White text17.06:1

Values

HEX#2B170C
RGBrgb(43, 23, 12)
HSLhsl(21, 56%, 11%)
OKLCHoklch(22.9% 0.038 48.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 #2B170C 17.06:1 AAA Lc -106.2 Preferred for body text
Black text on #2B170C 1.23:1 Fails Lc 0.0 Not readable
#2B170C text on white 17.06:1 AAA Lc 103.9 Preferred for body text
#2B170C text on black 1.23: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

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F2E8E2

    oklch(93.7% 0.014 53.3)

  3. Step 200

    200

    #E8D5CB

    oklch(88.6% 0.025 49.7)

  4. Step 300

    300

    #DAB9A8

    oklch(81% 0.045 48.9)

  5. Step 400

    400

    #C69479

    oklch(70.8% 0.072 49.5)

  6. Step 500

    500

    #B77857

    oklch(63.1% 0.092 48.2)

  7. Step 600

    600

    #A2603C

    oklch(55.6% 0.1 48.4)

  8. Step 700

    700

    #8A4F2E

    oklch(49% 0.092 48.7)

  9. Step 800

    800

    #714127

    oklch(42.7% 0.077 48.2)

  10. Step 900

    900

    #5B3724

    oklch(37.6% 0.06 48.1)

  11. Step 950

    950 (this color)

    #2B170C

    oklch(22.9% 0.038 48.9)

Export this scale for Tailwind in the Tailwind colors tool

#2B170C 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)#1C190B0.033
Deuteranopia (no green cones)#211E0C0.031
Tritanopia (no blue cones)#3013140.024
Achromatopsia (no color)#1C1C1C0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B170C

    #2B170C

    oklch(22.9% 0.038 48.9)

  • #06202B

    #06202B

    oklch(23% 0.038 229.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B170C

    #2B170C

    oklch(22.9% 0.038 48.9)

  • #2C1516

    #2C1516

    oklch(22.9% 0.038 17.7)

  • #261A06

    #261A06

    oklch(22.8% 0.038 78.2)

Open the analogous palette in the generator

Split complementary

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

  • #2B170C

    #2B170C

    oklch(22.9% 0.038 48.9)

  • #012223

    #012223

    oklch(22.9% 0.038 197.8)

  • #121D2E

    #121D2E

    oklch(23% 0.037 258.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B170C

    #2B170C

    oklch(22.9% 0.038 48.9)

  • #07221A

    #07221A

    oklch(22.8% 0.037 170.5)

  • #1C1A2D

    #1C1A2D

    oklch(23% 0.036 288)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B170C

    #2B170C

    oklch(22.9% 0.038 48.9)

  • #13210F

    #13210F

    oklch(22.9% 0.039 138.9)

  • #06202B

    #06202B

    oklch(23% 0.038 229.4)

  • #241728

    #241728

    oklch(22.9% 0.037 318.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2B170C 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.