#7E875C

Closest named color: Drab (#828344). oklch(60.5% 0.062 117.9), rgb(126, 135, 92).

Aa

Black text reads best on this color (5.50:1).

About this color

#7E875C is a medium-dark, muted yellow. In OKLCH its lightness is 60%, its chroma 0.062 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.027 away. Black text reads best on it, at 5.50:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamuted (0.062)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.50:1
White text3.81:1

Values

HEX#7E875C
RGBrgb(126, 135, 92)
HSLhsl(73, 19%, 45%)
OKLCHoklch(60.5% 0.062 117.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 #7E875C 3.81:1 AA large text Lc -71.1 Content text, not long reading
Black text on #7E875C 5.50:1 AA Lc 38.4 Non-text elements, placeholder text
#7E875C text on white 3.81:1 AA large text Lc 65.6 Content text, not long reading
#7E875C text on black 5.50:1 AA Lc -36.0 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D8DBCE

    oklch(88.6% 0.018 117.3)

  4. Step 300

    300

    #BEC4AE

    oklch(81% 0.031 119.5)

  5. Step 400

    400

    #9DA583

    oklch(70.6% 0.049 118.4)

  6. Step 500

    500 (this color)

    #7E875C

    oklch(60.5% 0.062 117.9)

  7. Step 600

    600

    #70794A

    oklch(55.6% 0.068 117.5)

  8. Step 700

    700

    #5D663C

    oklch(49.2% 0.063 118.7)

  9. Step 800

    800

    #4C5331

    oklch(42.7% 0.053 118.2)

  10. Step 900

    900

    #3F452C

    oklch(37.8% 0.041 119.4)

  11. Step 950

    950

    #25281A

    oklch(26.9% 0.025 117.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E875C 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)#8D82590.024
Deuteranopia (no green cones)#8C835E0.024
Tritanopia (no blue cones)#82827C0.054
Achromatopsia (no color)#8383830.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E875C

    #7E875C

    oklch(60.5% 0.062 117.9)

  • #867AA3

    #867AA3

    oklch(60.5% 0.063 297.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E875C

    #7E875C

    oklch(60.5% 0.062 117.9)

  • #918056

    #918056

    oklch(60.5% 0.062 88.4)

  • #688C6D

    #688C6D

    oklch(60.4% 0.062 148.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E875C

    #7E875C

    oklch(60.5% 0.062 117.9)

  • #7181A8

    #7181A8

    oklch(60.5% 0.063 267.2)

  • #967595

    #967595

    oklch(60.5% 0.061 327.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E875C

    #7E875C

    oklch(60.5% 0.062 117.9)

  • #5E87A3

    #5E87A3

    oklch(60.4% 0.062 239)

  • #A17281

    #A17281

    oklch(60.4% 0.063 358.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E875C

    #7E875C

    oklch(60.5% 0.062 117.9)

  • #528C95

    #528C95

    oklch(60.4% 0.062 208.3)

  • #867AA3

    #867AA3

    oklch(60.5% 0.063 297.9)

  • #A4746D

    #A4746D

    oklch(60.6% 0.062 28.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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