#7E580C

Closest named color: Medium Brown (#7F5112). oklch(48.9% 0.097 78), rgb(126, 88, 12).

Aa

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

About this color

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

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

Values

HEX#7E580C
RGBrgb(126, 88, 12)
HSLhsl(40, 83%, 27%)
OKLCHoklch(48.9% 0.097 78)

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 #7E580C 6.38:1 AA Lc -86.6 Fine for body text
Black text on #7E580C 3.28:1 AA large text Lc 22.5 Dividers and decoration only
#7E580C text on white 6.38:1 AA Lc 81.5 Fine for body text
#7E580C text on black 3.28:1 AA large text Lc -20.4 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

    #EFE9E0

    oklch(93.6% 0.014 78.3)

  3. Step 200

    200

    #E3D7C6

    oklch(88.4% 0.026 76.8)

  4. Step 300

    300

    #D2BD9F

    oklch(80.8% 0.047 76.7)

  5. Step 400

    400

    #BB9B6A

    oklch(70.7% 0.076 77.7)

  6. Step 500

    500

    #A98240

    oklch(63.1% 0.097 78.6)

  7. Step 600

    600

    #956B1D

    oklch(55.7% 0.105 78.1)

  8. Step 700

    700 (this color)

    #7E580C

    oklch(48.9% 0.097 78)

  9. Step 800

    800

    #674910

    oklch(42.8% 0.081 78.5)

  10. Step 900

    900

    #543D16

    oklch(37.7% 0.063 77.8)

  11. Step 950

    950

    #31240E

    oklch(27% 0.04 78.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E580C 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)#6659000.045
Deuteranopia (no green cones)#6F63100.038
Tritanopia (no blue cones)#8A4D4B0.085
Achromatopsia (no color)#5F5F5F0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E580C

    #7E580C

    oklch(48.9% 0.097 78)

  • #3C6097

    #3C6097

    oklch(48.8% 0.098 258.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E580C

    #7E580C

    oklch(48.9% 0.097 78)

  • #8C4D2B

    #8C4D2B

    oklch(48.9% 0.097 47.6)

  • #666413

    #666413

    oklch(49% 0.098 108)

Open the analogous palette in the generator

Split complementary

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

  • #7E580C

    #7E580C

    oklch(48.9% 0.097 78)

  • #006A8A

    #006A8A

    oklch(48.9% 0.095 227.5)

  • #5E5694

    #5E5694

    oklch(48.9% 0.098 288.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E580C

    #7E580C

    oklch(48.9% 0.097 78)

  • #006E71

    #006E71

    oklch(48.9% 0.083 198.1)

  • #774D84

    #774D84

    oklch(48.9% 0.098 317.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E580C

    #7E580C

    oklch(48.9% 0.097 78)

  • #067155

    #067155

    oklch(48.8% 0.097 167.9)

  • #3C6097

    #3C6097

    oklch(48.8% 0.098 258.6)

  • #88476A

    #88476A

    oklch(48.9% 0.099 347.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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