#27170D

Closest named color: Dark Brown (#341C02). oklch(22.3% 0.032 52.4), rgb(39, 23, 13).

Aa

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

About this color

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

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

Values

HEX#27170D
RGBrgb(39, 23, 13)
HSLhsl(23, 50%, 10%)
OKLCHoklch(22.3% 0.032 52.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 #27170D 17.28:1 AAA Lc -106.4 Preferred for body text
Black text on #27170D 1.21:1 Fails Lc 0.0 Not readable
#27170D text on white 17.28:1 AAA Lc 104.1 Preferred for body text
#27170D 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

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #F0E8E3

    oklch(93.6% 0.011 54.5)

  3. Step 200

    200

    #E5D6CD

    oklch(88.6% 0.021 53.2)

  4. Step 300

    300

    #D5BBAB

    oklch(81% 0.037 53.6)

  5. Step 400

    400

    #BF977E

    oklch(70.7% 0.06 53.5)

  6. Step 500

    500

    #AF7C5E

    oklch(63% 0.077 51.3)

  7. Step 600

    600

    #9A6544

    oklch(55.6% 0.083 52.2)

  8. Step 700

    700

    #835435

    oklch(49.1% 0.077 53.4)

  9. Step 800

    800

    #6B452D

    oklch(42.8% 0.064 52.5)

  10. Step 900

    900

    #573A28

    oklch(37.7% 0.05 52.5)

  11. Step 950

    950 (this color)

    #27170D

    oklch(22.3% 0.032 52.4)

Export this scale for Tailwind in the Tailwind colors tool

#27170D 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)#1C190C0.024
Deuteranopia (no green cones)#1F1C0D0.023
Tritanopia (no blue cones)#2B14140.020
Achromatopsia (no color)#1B1B1B0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #27170D

    #27170D

    oklch(22.3% 0.032 52.4)

  • #0A1E28

    #0A1E28

    oklch(22.4% 0.032 232.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27170D

    #27170D

    oklch(22.3% 0.032 52.4)

  • #281514

    #281514

    oklch(22.2% 0.031 23.2)

  • #231A09

    #231A09

    oklch(22.4% 0.032 81.8)

Open the analogous palette in the generator

Split complementary

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

  • #27170D

    #27170D

    oklch(22.3% 0.032 52.4)

  • #062022

    #062022

    oklch(22.5% 0.032 202.2)

  • #131B2A

    #131B2A

    oklch(22.2% 0.032 262.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27170D

    #27170D

    oklch(22.3% 0.032 52.4)

  • #09201A

    #09201A

    oklch(22.3% 0.032 173.8)

  • #1C1829

    #1C1829

    oklch(22.2% 0.033 294.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27170D

    #27170D

    oklch(22.3% 0.032 52.4)

  • #121F11

    #121F11

    oklch(22.2% 0.032 142.7)

  • #0A1E28

    #0A1E28

    oklch(22.4% 0.032 232.5)

  • #221624

    #221624

    oklch(22.2% 0.032 321.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27170D 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.