#7E5218

Closest named color: Medium Brown (#7F5112). oklch(47.7% 0.092 68.9), rgb(126, 82, 24).

Aa

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

About this color

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

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

Values

HEX#7E5218
RGBrgb(126, 82, 24)
HSLhsl(34, 68%, 29%)
OKLCHoklch(47.7% 0.092 68.9)

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 #7E5218 6.75:1 AA Lc -88.1 Fine for body text
Black text on #7E5218 3.10:1 AA large text Lc 21.0 Dividers and decoration only
#7E5218 text on white 6.75:1 AA Lc 83.1 Fine for body text
#7E5218 text on black 3.10: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

    #F0E8E1

    oklch(93.5% 0.013 63.9)

  3. Step 200

    200

    #E4D7C8

    oklch(88.6% 0.025 71.4)

  4. Step 300

    300

    #D4BCA2

    oklch(80.9% 0.045 69.4)

  5. Step 400

    400

    #BE9970

    oklch(70.7% 0.071 69.1)

  6. Step 500

    500

    #AD7F49

    oklch(63% 0.091 69.3)

  7. Step 600

    600

    #99682A

    oklch(55.7% 0.099 69.3)

  8. Step 700

    700 (this color)

    #7E5218

    oklch(47.7% 0.092 68.9)

  9. Step 800

    800

    #6A461A

    oklch(42.6% 0.077 68.3)

  10. Step 900

    900

    #563B1C

    oklch(37.6% 0.059 68.1)

  11. Step 950

    950

    #322311

    oklch(26.9% 0.037 70.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E5218 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)#61550F0.055
Deuteranopia (no green cones)#6B5F190.048
Tritanopia (no blue cones)#8A47460.073
Achromatopsia (no color)#5B5B5B0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E5218

    #7E5218

    oklch(47.7% 0.092 68.9)

  • #2F608E

    #2F608E

    oklch(47.7% 0.092 249)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E5218

    #7E5218

    oklch(47.7% 0.092 68.9)

  • #884934

    #884934

    oklch(47.7% 0.092 39.1)

  • #6A5D11

    #6A5D11

    oklch(47.7% 0.092 98.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E5218

    #7E5218

    oklch(47.7% 0.092 68.9)

  • #00687E

    #00687E

    oklch(47.8% 0.086 219.1)

  • #525690

    #525690

    oklch(47.7% 0.093 279.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E5218

    #7E5218

    oklch(47.7% 0.092 68.9)

  • #006B66

    #006B66

    oklch(47.6% 0.082 189.2)

  • #6C4D84

    #6C4D84

    oklch(47.6% 0.093 309.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E5218

    #7E5218

    oklch(47.7% 0.092 68.9)

  • #236C49

    #236C49

    oklch(47.6% 0.092 158.8)

  • #2F608E

    #2F608E

    oklch(47.7% 0.092 249)

  • #7E476E

    #7E476E

    oklch(47.7% 0.092 338.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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