#7F663B

Closest named color: Dirt Brown (#836539). oklch(52.5% 0.068 80), rgb(127, 102, 59).

Aa

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

About this color

#7F663B is a medium-dark, muted brown. In OKLCH its lightness is 52%, its chroma 0.068 and its hue 80°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.007 away. White text reads best on it, at 5.43:1.

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.86:1
White text5.43:1

Values

HEX#7F663B
RGBrgb(127, 102, 59)
HSLhsl(38, 37%, 36%)
OKLCHoklch(52.5% 0.068 80)

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 #7F663B 5.43:1 AA Lc -82.4 Fine for body text
Black text on #7F663B 3.86:1 AA large text Lc 27.0 Dividers and decoration only
#7F663B text on white 5.43:1 AA Lc 77.0 Fine for body text
#7F663B text on black 3.86:1 AA large text Lc -24.7 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 600.

  1. Step 50

    50

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDE9E3

    oklch(93.5% 0.009 78.3)

  3. Step 200

    200

    #DFD8CD

    oklch(88.5% 0.017 79.3)

  4. Step 300

    300

    #CBBFAB

    oklch(80.9% 0.031 80.6)

  5. Step 400

    400

    #B19E7E

    oklch(70.8% 0.05 80.6)

  6. Step 500

    500

    #9E865E

    oklch(63.2% 0.063 80)

  7. Step 600

    600 (this color)

    #7F663B

    oklch(52.5% 0.068 80)

  8. Step 700

    700

    #745D35

    oklch(49.2% 0.064 80.3)

  9. Step 800

    800

    #5E4C2D

    oklch(42.7% 0.052 80.3)

  10. Step 900

    900

    #4D3F28

    oklch(37.6% 0.041 79.4)

  11. Step 950

    950

    #2D2518

    oklch(27% 0.025 79.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F663B 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)#7066370.026
Deuteranopia (no green cones)#766C3C0.022
Tritanopia (no blue cones)#895F5C0.059
Achromatopsia (no color)#6A6A6A0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F663B

    #7F663B

    oklch(52.5% 0.068 80)

  • #536B92

    #536B92

    oklch(52.5% 0.068 259.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F663B

    #7F663B

    oklch(52.5% 0.068 80)

  • #8A5F46

    #8A5F46

    oklch(52.5% 0.068 50.9)

  • #6D6E3E

    #6D6E3E

    oklch(52.6% 0.068 109.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F663B

    #7F663B

    oklch(52.5% 0.068 80)

  • #3D728A

    #3D728A

    oklch(52.5% 0.068 229.3)

  • #6A648F

    #6A648F

    oklch(52.6% 0.067 290.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F663B

    #7F663B

    oklch(52.5% 0.068 80)

  • #33767A

    #33767A

    oklch(52.5% 0.068 200.6)

  • #7C5E83

    #7C5E83

    oklch(52.6% 0.067 319.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F663B

    #7F663B

    oklch(52.5% 0.068 80)

  • #3E7764

    #3E7764

    oklch(52.4% 0.068 169.8)

  • #536B92

    #536B92

    oklch(52.5% 0.068 259.9)

  • #885A70

    #885A70

    oklch(52.4% 0.068 349.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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