#7F511D

Closest named color: Medium Brown (#7F5112). oklch(47.7% 0.09 65.4), rgb(127, 81, 29).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameMedium Brown (#7F5112)
Black text3.09:1
White text6.78:1

Values

HEX#7F511D
RGBrgb(127, 81, 29)
HSLhsl(32, 63%, 31%)
OKLCHoklch(47.7% 0.09 65.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 #7F511D 6.78:1 AA Lc -88.2 Fine for body text
Black text on #7F511D 3.09:1 AA large text Lc 20.9 Dividers and decoration only
#7F511D text on white 6.78:1 AA Lc 83.2 Fine for body text
#7F511D text on black 3.09:1 AA large text Lc -18.8 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

    #F0E8E1

    oklch(93.5% 0.013 63.9)

  3. Step 200

    200

    #E5D6C9

    oklch(88.5% 0.024 63.5)

  4. Step 300

    300

    #D5BCA4

    oklch(81% 0.043 66)

  5. Step 400

    400

    #BF9872

    oklch(70.7% 0.07 65.6)

  6. Step 500

    500

    #AF7E4D

    oklch(63.1% 0.089 65)

  7. Step 600

    600

    #9A672F

    oklch(55.7% 0.097 65.8)

  8. Step 700

    700 (this color)

    #7F511D

    oklch(47.7% 0.09 65.4)

  9. Step 800

    800

    #6B461E

    oklch(42.8% 0.075 65.4)

  10. Step 900

    900

    #573B1E

    oklch(37.8% 0.058 65.4)

  11. Step 950

    950

    #332312

    oklch(27.1% 0.037 66.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F511D 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)#6055160.058
Deuteranopia (no green cones)#6B5F1E0.051
Tritanopia (no blue cones)#8B46460.070
Achromatopsia (no color)#5B5B5B0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F511D

    #7F511D

    oklch(47.7% 0.09 65.4)

  • #2B618C

    #2B618C

    oklch(47.7% 0.09 245.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F511D

    #7F511D

    oklch(47.7% 0.09 65.4)

  • #884938

    #884938

    oklch(47.8% 0.09 36)

  • #6C5C12

    #6C5C12

    oklch(47.7% 0.091 96)

Open the analogous palette in the generator

Split complementary

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

  • #7F511D

    #7F511D

    oklch(47.7% 0.09 65.4)

  • #00687B

    #00687B

    oklch(47.7% 0.085 216.1)

  • #4F588F

    #4F588F

    oklch(47.8% 0.089 275.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F511D

    #7F511D

    oklch(47.7% 0.09 65.4)

  • #006C63

    #006C63

    oklch(47.8% 0.084 184.9)

  • #694F85

    #694F85

    oklch(47.8% 0.089 305.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F511D

    #7F511D

    oklch(47.7% 0.09 65.4)

  • #2B6C46

    #2B6C46

    oklch(47.8% 0.091 155)

  • #2B618C

    #2B618C

    oklch(47.7% 0.09 245.4)

  • #7C4870

    #7C4870

    oklch(47.7% 0.09 335.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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