#2B170F

Closest named color: Dark Brown (#341C02). oklch(23% 0.036 42.4), rgb(43, 23, 15).

Aa

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

About this color

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

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

Values

HEX#2B170F
RGBrgb(43, 23, 15)
HSLhsl(17, 48%, 11%)
OKLCHoklch(23% 0.036 42.4)

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 #2B170F 17.04:1 AAA Lc -106.2 Preferred for body text
Black text on #2B170F 1.23:1 Fails Lc 0.0 Not readable
#2B170F text on white 17.04:1 AAA Lc 103.8 Preferred for body text
#2B170F 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

    #F2E7E3

    oklch(93.6% 0.013 41.2)

  3. Step 200

    200

    #E8D4CD

    oklch(88.4% 0.024 40.3)

  4. Step 300

    300

    #DAB8AB

    oklch(80.9% 0.043 42)

  5. Step 400

    400

    #C6937F

    oklch(70.7% 0.068 42.4)

  6. Step 500

    500

    #B6785F

    oklch(63.1% 0.086 42.7)

  7. Step 600

    600

    #A16045

    oklch(55.6% 0.094 43)

  8. Step 700

    700

    #8A4F37

    oklch(49.1% 0.088 42.6)

  9. Step 800

    800

    #70412E

    oklch(42.7% 0.072 42.5)

  10. Step 900

    900

    #5B3729

    oklch(37.7% 0.057 41.9)

  11. Step 950

    950 (this color)

    #2B170F

    oklch(23% 0.036 42.4)

Export this scale for Tailwind in the Tailwind colors tool

#2B170F 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)#1C190E0.033
Deuteranopia (no green cones)#211E0F0.031
Tritanopia (no blue cones)#2F14150.018
Achromatopsia (no color)#1C1C1C0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B170F

    #2B170F

    oklch(23% 0.036 42.4)

  • #062029

    #062029

    oklch(22.8% 0.036 224.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B170F

    #2B170F

    oklch(23% 0.036 42.4)

  • #2B1618

    #2B1618

    oklch(23% 0.034 14)

  • #271A08

    #271A08

    oklch(23% 0.036 73.4)

Open the analogous palette in the generator

Split complementary

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

  • #2B170F

    #2B170F

    oklch(23% 0.036 42.4)

  • #032221

    #032221

    oklch(22.9% 0.036 191.9)

  • #101E2D

    #101E2D

    oklch(23% 0.035 251.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B170F

    #2B170F

    oklch(23% 0.036 42.4)

  • #0B2218

    #0B2218

    oklch(23% 0.035 163)

  • #1A1B2D

    #1A1B2D

    oklch(23% 0.035 280.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B170F

    #2B170F

    oklch(23% 0.036 42.4)

  • #16200E

    #16200E

    oklch(22.8% 0.036 132.3)

  • #062029

    #062029

    oklch(22.8% 0.036 224.3)

  • #231829

    #231829

    oklch(23.1% 0.036 313.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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