#7F5202

Closest named color: Medium Brown (#7F5112). oklch(47.7% 0.101 72.5), rgb(127, 82, 2).

Aa

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

About this color

#7F5202 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.101 and its hue 73°. 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.75:1.

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

Values

HEX#7F5202
RGBrgb(127, 82, 2)
HSLhsl(38, 97%, 25%)
OKLCHoklch(47.7% 0.101 72.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 #7F5202 6.75:1 AA Lc -88.0 Fine for body text
Black text on #7F5202 3.11:1 AA large text Lc 21.1 Dividers and decoration only
#7F5202 text on white 6.75:1 AA Lc 83.0 Fine for body text
#7F5202 text on black 3.11:1 AA large text Lc -18.9 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

    #F0E9E0

    oklch(93.7% 0.014 74.4)

  3. Step 200

    200

    #E5D7C6

    oklch(88.6% 0.028 72.8)

  4. Step 300

    300

    #D5BC9F

    oklch(80.9% 0.049 71.2)

  5. Step 400

    400

    #BF9969

    oklch(70.7% 0.079 72.5)

  6. Step 500

    500

    #AE7F3F

    oklch(63% 0.1 72.7)

  7. Step 600

    600

    #9A681A

    oklch(55.7% 0.109 72.8)

  8. Step 700

    700 (this color)

    #7F5202

    oklch(47.7% 0.101 72.5)

  9. Step 800

    800

    #6B460F

    oklch(42.7% 0.084 71.5)

  10. Step 900

    900

    #573B15

    oklch(37.6% 0.066 71.5)

  11. Step 950

    950

    #33230E

    oklch(27% 0.041 72)

Export this scale for Tailwind in the Tailwind colors tool

#7F5202 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)#6255000.053
Deuteranopia (no green cones)#6C60060.049
Tritanopia (no blue cones)#8B46450.084
Achromatopsia (no color)#5B5B5B0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5202

    #7F5202

    oklch(47.7% 0.101 72.5)

  • #2E5F94

    #2E5F94

    oklch(47.8% 0.101 252.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5202

    #7F5202

    oklch(47.7% 0.101 72.5)

  • #8B472B

    #8B472B

    oklch(47.7% 0.101 42.3)

  • #685E00

    #685E00

    oklch(47.7% 0.1 102.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F5202

    #7F5202

    oklch(47.7% 0.101 72.5)

  • #006781

    #006781

    oklch(47.7% 0.089 223)

  • #555494

    #555494

    oklch(47.7% 0.102 282.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5202

    #7F5202

    oklch(47.7% 0.101 72.5)

  • #006B69

    #006B69

    oklch(47.7% 0.082 192.5)

  • #704A85

    #704A85

    oklch(47.6% 0.101 312.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5202

    #7F5202

    oklch(47.7% 0.101 72.5)

  • #096E4C

    #096E4C

    oklch(47.7% 0.101 162.9)

  • #2E5F94

    #2E5F94

    oklch(47.8% 0.101 252.3)

  • #83446C

    #83446C

    oklch(47.8% 0.101 342.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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