#7F501F

Closest named color: Milk Chocolate (#7F4E1E). oklch(47.5% 0.089 63.5), rgb(127, 80, 31).

Aa

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

About this color

#7F501F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.089 and its hue 63°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.005 away. White text reads best on it, at 6.84:1.

Hue familyBrowns
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameMilk Chocolate (#7F4E1E)
Black text3.06:1
White text6.84:1

Values

HEX#7F501F
RGBrgb(127, 80, 31)
HSLhsl(31, 61%, 31%)
OKLCHoklch(47.5% 0.089 63.5)

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 #7F501F 6.84:1 AA Lc -88.4 Fine for body text
Black text on #7F501F 3.06:1 AA large text Lc 20.6 Dividers and decoration only
#7F501F text on white 6.84:1 AA Lc 83.4 Fine for body text
#7F501F text on black 3.06:1 AA large text Lc -18.5 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

    #D5BBA4

    oklch(80.8% 0.043 63.7)

  5. Step 400

    400

    #C09873

    oklch(70.8% 0.07 64.1)

  6. Step 500

    500

    #AF7E4F

    oklch(63.2% 0.088 63.9)

  7. Step 600

    600

    #9A6632

    oklch(55.5% 0.095 63.5)

  8. Step 700

    700 (this color)

    #7F501F

    oklch(47.5% 0.089 63.5)

  9. Step 800

    800

    #6B451F

    oklch(42.6% 0.074 63.4)

  10. Step 900

    900

    #573B1F

    oklch(37.8% 0.058 64.5)

  11. Step 950

    950

    #332213

    oklch(26.9% 0.036 61.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F501F 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)#5F54190.060
Deuteranopia (no green cones)#6A5F200.054
Tritanopia (no blue cones)#8B45460.068
Achromatopsia (no color)#5B5B5B0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F501F

    #7F501F

    oklch(47.5% 0.089 63.5)

  • #28618A

    #28618A

    oklch(47.4% 0.089 243.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F501F

    #7F501F

    oklch(47.5% 0.089 63.5)

  • #87483A

    #87483A

    oklch(47.5% 0.089 33.6)

  • #6D5B13

    #6D5B13

    oklch(47.6% 0.089 94)

Open the analogous palette in the generator

Split complementary

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

  • #7F501F

    #7F501F

    oklch(47.5% 0.089 63.5)

  • #006878

    #006878

    oklch(47.5% 0.083 213)

  • #4C588E

    #4C588E

    oklch(47.5% 0.089 273.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F501F

    #7F501F

    oklch(47.5% 0.089 63.5)

  • #006B61

    #006B61

    oklch(47.4% 0.084 183.7)

  • #674F85

    #674F85

    oklch(47.5% 0.089 303.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F501F

    #7F501F

    oklch(47.5% 0.089 63.5)

  • #2E6B44

    #2E6B44

    oklch(47.6% 0.09 153.3)

  • #28618A

    #28618A

    oklch(47.4% 0.089 243.1)

  • #7A4871

    #7A4871

    oklch(47.5% 0.089 333.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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