#28170E

Closest named color: Dark Brown (#341C02). oklch(22.5% 0.032 48.5), rgb(40, 23, 14).

Aa

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

About this color

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

Hue familyBrowns
Lightnessvery dark (22%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.21:1
White text17.22:1

Values

HEX#28170E
RGBrgb(40, 23, 14)
HSLhsl(21, 48%, 11%)
OKLCHoklch(22.5% 0.032 48.5)

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 #28170E 17.22:1 AAA Lc -106.4 Preferred for body text
Black text on #28170E 1.21:1 Fails Lc 0.0 Not readable
#28170E text on white 17.22:1 AAA Lc 104.0 Preferred for body text
#28170E text on black 1.21: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

    #F8F4F2

    oklch(97% 0.005 48.7)

  2. Step 100

    100

    #F0E8E4

    oklch(93.6% 0.01 48.6)

  3. Step 200

    200

    #E6D5CD

    oklch(88.5% 0.022 47)

  4. Step 300

    300

    #D6BAAC

    oklch(80.9% 0.038 48.2)

  5. Step 400

    400

    #C19680

    oklch(70.8% 0.061 48.4)

  6. Step 500

    500

    #B17B5F

    oklch(63.1% 0.079 48.3)

  7. Step 600

    600

    #9C6446

    oklch(55.7% 0.085 48.6)

  8. Step 700

    700

    #855237

    oklch(49% 0.079 48.1)

  9. Step 800

    800

    #6C442E

    oklch(42.8% 0.065 49.2)

  10. Step 900

    900

    #583929

    oklch(37.7% 0.051 48)

  11. Step 950

    950 (this color)

    #28170E

    oklch(22.5% 0.032 48.5)

Export this scale for Tailwind in the Tailwind colors tool

#28170E 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)#1C190D0.026
Deuteranopia (no green cones)#201C0E0.023
Tritanopia (no blue cones)#2C14150.020
Achromatopsia (no color)#1B1B1B0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #28170E

    #28170E

    oklch(22.5% 0.032 48.5)

  • #091F28

    #091F28

    oklch(22.6% 0.033 227.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28170E

    #28170E

    oklch(22.5% 0.032 48.5)

  • #291516

    #291516

    oklch(22.4% 0.033 16.8)

  • #241A09

    #241A09

    oklch(22.6% 0.033 79.2)

Open the analogous palette in the generator

Split complementary

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

  • #28170E

    #28170E

    oklch(22.5% 0.032 48.5)

  • #062021

    #062021

    oklch(22.4% 0.032 198.7)

  • #121C2B

    #121C2B

    oklch(22.5% 0.033 258.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28170E

    #28170E

    oklch(22.5% 0.032 48.5)

  • #0A2119

    #0A2119

    oklch(22.6% 0.033 168)

  • #1B192A

    #1B192A

    oklch(22.4% 0.033 288.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28170E

    #28170E

    oklch(22.5% 0.032 48.5)

  • #141F10

    #141F10

    oklch(22.4% 0.032 137.6)

  • #091F28

    #091F28

    oklch(22.6% 0.033 227.7)

  • #221725

    #221725

    oklch(22.5% 0.031 318.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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