#7F562B

Closest named color: Medium Brown (#7F5112). oklch(48.9% 0.08 65.3), rgb(127, 86, 43).

Aa

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

About this color

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

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

Values

HEX#7F562B
RGBrgb(127, 86, 43)
HSLhsl(31, 49%, 33%)
OKLCHoklch(48.9% 0.08 65.3)

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 #7F562B 6.42:1 AA Lc -86.9 Fine for body text
Black text on #7F562B 3.26:1 AA large text Lc 22.3 Dividers and decoration only
#7F562B text on white 6.42:1 AA Lc 81.8 Fine for body text
#7F562B text on black 3.26:1 AA large text Lc -20.1 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

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #EFE8E2

    oklch(93.5% 0.011 63.4)

  3. Step 200

    200

    #E3D7CB

    oklch(88.6% 0.021 67.6)

  4. Step 300

    300

    #D3BCA7

    oklch(80.9% 0.039 64.6)

  5. Step 400

    400

    #BC9978

    oklch(70.7% 0.062 64.9)

  6. Step 500

    500

    #AB8055

    oklch(63.2% 0.079 65.6)

  7. Step 600

    600

    #966839

    oklch(55.5% 0.086 65)

  8. Step 700

    700 (this color)

    #7F562B

    oklch(48.9% 0.08 65.3)

  9. Step 800

    800

    #684725

    oklch(42.7% 0.067 65.2)

  10. Step 900

    900

    #553C23

    oklch(37.8% 0.052 65.1)

  11. Step 950

    950

    #322315

    oklch(27% 0.033 63.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F562B 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)#6359270.051
Deuteranopia (no green cones)#6D622C0.044
Tritanopia (no blue cones)#8A4D4C0.061
Achromatopsia (no color)#5F5F5F0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F562B

    #7F562B

    oklch(48.9% 0.08 65.3)

  • #36648A

    #36648A

    oklch(48.8% 0.08 245.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F562B

    #7F562B

    oklch(48.9% 0.08 65.3)

  • #874F40

    #874F40

    oklch(48.9% 0.08 35.8)

  • #6E5F25

    #6E5F25

    oklch(48.8% 0.079 94.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F562B

    #7F562B

    oklch(48.9% 0.08 65.3)

  • #166B7C

    #166B7C

    oklch(48.8% 0.08 215)

  • #535C8D

    #535C8D

    oklch(48.9% 0.079 275.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F562B

    #7F562B

    oklch(48.9% 0.08 65.3)

  • #166F66

    #166F66

    oklch(49% 0.08 184.6)

  • #6B5484

    #6B5484

    oklch(48.9% 0.079 305.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F562B

    #7F562B

    oklch(48.9% 0.08 65.3)

  • #376D4C

    #376D4C

    oklch(48.8% 0.079 155.2)

  • #36648A

    #36648A

    oklch(48.8% 0.08 245.4)

  • #7C4E72

    #7C4E72

    oklch(48.8% 0.08 335)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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