#27170E

Closest named color: Dark Brown (#341C02). oklch(22.3% 0.031 50), rgb(39, 23, 14).

Aa

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

About this color

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

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

Values

HEX#27170E
RGBrgb(39, 23, 14)
HSLhsl(22, 47%, 10%)
OKLCHoklch(22.3% 0.031 50)

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 #27170E 17.28:1 AAA Lc -106.4 Preferred for body text
Black text on #27170E 1.21:1 Fails Lc 0.0 Not readable
#27170E text on white 17.28:1 AAA Lc 104.1 Preferred for body text
#27170E 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

    #F8F4F3

    oklch(97% 0.005 34.3)

  2. Step 100

    100

    #F0E8E4

    oklch(93.6% 0.01 48.6)

  3. Step 200

    200

    #E5D6CE

    oklch(88.6% 0.02 50.1)

  4. Step 300

    300

    #D5BAAC

    oklch(80.8% 0.037 49.2)

  5. Step 400

    400

    #BF9780

    oklch(70.8% 0.058 51.4)

  6. Step 500

    500

    #AF7C60

    oklch(63.1% 0.075 49.7)

  7. Step 600

    600

    #9A6547

    oklch(55.7% 0.081 50)

  8. Step 700

    700

    #835338

    oklch(49% 0.076 49.6)

  9. Step 800

    800

    #6B452F

    oklch(42.8% 0.063 50.5)

  10. Step 900

    900

    #573A2A

    oklch(37.8% 0.049 49.7)

  11. Step 950

    950 (this color)

    #27170E

    oklch(22.3% 0.031 50)

Export this scale for Tailwind in the Tailwind colors tool

#27170E 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)#1B190D0.026
Deuteranopia (no green cones)#1F1C0E0.023
Tritanopia (no blue cones)#2B14150.020
Achromatopsia (no color)#1B1B1B0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #27170E

    #27170E

    oklch(22.3% 0.031 50)

  • #0A1E27

    #0A1E27

    oklch(22.3% 0.031 229.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27170E

    #27170E

    oklch(22.3% 0.031 50)

  • #281515

    #281515

    oklch(22.2% 0.031 19.9)

  • #231A0A

    #231A0A

    oklch(22.4% 0.031 80.6)

Open the analogous palette in the generator

Split complementary

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

  • #27170E

    #27170E

    oklch(22.3% 0.031 50)

  • #072021

    #072021

    oklch(22.5% 0.031 198.8)

  • #131C2A

    #131C2A

    oklch(22.5% 0.031 259)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27170E

    #27170E

    oklch(22.3% 0.031 50)

  • #0B2019

    #0B2019

    oklch(22.3% 0.031 169.4)

  • #1B1929

    #1B1929

    oklch(22.4% 0.031 289.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27170E

    #27170E

    oklch(22.3% 0.031 50)

  • #141F11

    #141F11

    oklch(22.4% 0.031 139.1)

  • #0A1E27

    #0A1E27

    oklch(22.3% 0.031 229.7)

  • #221724

    #221724

    oklch(22.4% 0.03 321.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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