#7F5002

Closest named color: Medium Brown (#7F5112). oklch(47.3% 0.101 70.5), rgb(127, 80, 2).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.101)
Temperaturewarm
Nearest nameMedium Brown (#7F5112)
Black text3.05:1
White text6.88:1

Values

HEX#7F5002
RGBrgb(127, 80, 2)
HSLhsl(37, 97%, 25%)
OKLCHoklch(47.3% 0.101 70.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 #7F5002 6.88:1 AA Lc -88.5 Fine for body text
Black text on #7F5002 3.05:1 AA large text Lc 20.6 Dividers and decoration only
#7F5002 text on white 6.88:1 AA Lc 83.5 Fine for body text
#7F5002 text on black 3.05: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

    #F0E8E0

    oklch(93.5% 0.014 67.7)

  3. Step 200

    200

    #E5D6C6

    oklch(88.4% 0.027 69.3)

  4. Step 300

    300

    #D5BC9F

    oklch(80.9% 0.049 71.2)

  5. Step 400

    400

    #C0986A

    oklch(70.6% 0.078 69.9)

  6. Step 500

    500

    #B07E40

    oklch(63.1% 0.1 70.1)

  7. Step 600

    600

    #9B671C

    oklch(55.7% 0.109 70.8)

  8. Step 700

    700 (this color)

    #7F5002

    oklch(47.3% 0.101 70.5)

  9. Step 800

    800

    #6C4610

    oklch(42.8% 0.084 70.4)

  10. Step 900

    900

    #573B16

    oklch(37.7% 0.065 70.9)

  11. Step 950

    950

    #33230E

    oklch(27% 0.041 72)

Export this scale for Tailwind in the Tailwind colors tool

#7F5002 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)#6053000.057
Deuteranopia (no green cones)#6B5F050.053
Tritanopia (no blue cones)#8B44430.081
Achromatopsia (no color)#5A5A5A0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5002

    #7F5002

    oklch(47.3% 0.101 70.5)

  • #2A5E92

    #2A5E92

    oklch(47.2% 0.101 250.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5002

    #7F5002

    oklch(47.3% 0.101 70.5)

  • #8A452C

    #8A452C

    oklch(47.2% 0.101 40.2)

  • #685C00

    #685C00

    oklch(47.2% 0.098 100.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F5002

    #7F5002

    oklch(47.3% 0.101 70.5)

  • #00667D

    #00667D

    oklch(47.2% 0.086 220.4)

  • #525493

    #525493

    oklch(47.4% 0.101 280.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5002

    #7F5002

    oklch(47.3% 0.101 70.5)

  • #006A66

    #006A66

    oklch(47.3% 0.082 190.2)

  • #6E4A86

    #6E4A86

    oklch(47.4% 0.102 310.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5002

    #7F5002

    oklch(47.3% 0.101 70.5)

  • #0E6D48

    #0E6D48

    oklch(47.4% 0.102 160.4)

  • #2A5E92

    #2A5E92

    oklch(47.2% 0.101 250.8)

  • #81436D

    #81436D

    oklch(47.4% 0.101 340.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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