#7F5617

Closest named color: Medium Brown (#7F5112). oklch(48.7% 0.093 73), rgb(127, 86, 23).

Aa

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

About this color

#7F5617 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 49%, its chroma 0.093 and its hue 73°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Brown (#7F5112), ΔE 0.013 away. White text reads best on it, at 6.46:1.

Hue familyBrowns
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameMedium Brown (#7F5112)
Black text3.24:1
White text6.46:1

Values

HEX#7F5617
RGBrgb(127, 86, 23)
HSLhsl(36, 69%, 29%)
OKLCHoklch(48.7% 0.093 73)

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 #7F5617 6.46:1 AA Lc -87.0 Fine for body text
Black text on #7F5617 3.24:1 AA large text Lc 22.2 Dividers and decoration only
#7F5617 text on white 6.46:1 AA Lc 81.9 Fine for body text
#7F5617 text on black 3.24:1 AA large text Lc -20.0 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #EFE9E1

    oklch(93.7% 0.013 75.4)

  3. Step 200

    200

    #E4D7C8

    oklch(88.6% 0.025 71.4)

  4. Step 300

    300

    #D3BDA1

    oklch(81% 0.046 73.8)

  5. Step 400

    400

    #BC9A6E

    oklch(70.7% 0.072 73.4)

  6. Step 500

    500

    #AB8047

    oklch(63% 0.091 72.6)

  7. Step 600

    600

    #976926

    oklch(55.6% 0.101 72.8)

  8. Step 700

    700 (this color)

    #7F5617

    oklch(48.7% 0.093 73)

  9. Step 800

    800

    #684817

    oklch(42.7% 0.077 74.1)

  10. Step 900

    900

    #553C1A

    oklch(37.7% 0.06 72.5)

  11. Step 950

    950

    #322310

    oklch(26.9% 0.038 71.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F5617 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)#64580C0.050
Deuteranopia (no green cones)#6E62190.043
Tritanopia (no blue cones)#8B4B4A0.078
Achromatopsia (no color)#5E5E5E0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5617

    #7F5617

    oklch(48.7% 0.093 73)

  • #366293

    #366293

    oklch(48.8% 0.093 252.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5617

    #7F5617

    oklch(48.7% 0.093 73)

  • #8B4C32

    #8B4C32

    oklch(48.7% 0.094 42.6)

  • #696115

    #696115

    oklch(48.6% 0.093 103.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F5617

    #7F5617

    oklch(48.7% 0.093 73)

  • #006A85

    #006A85

    oklch(48.7% 0.091 223.3)

  • #585892

    #585892

    oklch(48.7% 0.092 282.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5617

    #7F5617

    oklch(48.7% 0.093 73)

  • #006E6C

    #006E6C

    oklch(48.7% 0.083 192.6)

  • #724F85

    #724F85

    oklch(48.7% 0.093 313)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5617

    #7F5617

    oklch(48.7% 0.093 73)

  • #1E7050

    #1E7050

    oklch(48.8% 0.093 162.7)

  • #366293

    #366293

    oklch(48.8% 0.093 252.5)

  • #83496D

    #83496D

    oklch(48.7% 0.092 343.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7F5617 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.