#7E875A

Closest named color: Drab (#828344). oklch(60.4% 0.065 117.6), rgb(126, 135, 90).

Aa

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

About this color

#7E875A is a medium-dark, muted yellow. In OKLCH its lightness is 60%, its chroma 0.065 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.025 away. Black text reads best on it, at 5.50:1.

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

Values

HEX#7E875A
RGBrgb(126, 135, 90)
HSLhsl(72, 20%, 44%)
OKLCHoklch(60.4% 0.065 117.6)

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 #7E875A 3.81:1 AA large text Lc -71.2 Content text, not long reading
Black text on #7E875A 5.50:1 AA Lc 38.4 Non-text elements, placeholder text
#7E875A text on white 3.81:1 AA large text Lc 65.7 Content text, not long reading
#7E875A 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

    #BEC4AD

    oklch(80.9% 0.032 119)

  5. Step 400

    400

    #9EA581

    oklch(70.7% 0.051 116.7)

  6. Step 500

    500 (this color)

    #7E875A

    oklch(60.4% 0.065 117.6)

  7. Step 600

    600

    #707948

    oklch(55.6% 0.071 117.3)

  8. Step 700

    700

    #5D663A

    oklch(49.1% 0.066 118.3)

  9. Step 800

    800

    #4C5330

    oklch(42.6% 0.054 118)

  10. Step 900

    900

    #40452B

    oklch(37.8% 0.042 117.3)

  11. Step 950

    950

    #252819

    oklch(26.9% 0.027 117.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E875A 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)#8D82570.025
Deuteranopia (no green cones)#8C835C0.024
Tritanopia (no blue cones)#82827B0.055
Achromatopsia (no color)#8282820.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E875A

    #7E875A

    oklch(60.4% 0.065 117.6)

  • #8679A4

    #8679A4

    oklch(60.4% 0.066 298.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E875A

    #7E875A

    oklch(60.4% 0.065 117.6)

  • #927F53

    #927F53

    oklch(60.3% 0.065 87.1)

  • #678C6B

    #678C6B

    oklch(60.3% 0.065 147.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E875A

    #7E875A

    oklch(60.4% 0.065 117.6)

  • #7081A9

    #7081A9

    oklch(60.5% 0.064 266.6)

  • #977496

    #977496

    oklch(60.5% 0.065 327.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E875A

    #7E875A

    oklch(60.4% 0.065 117.6)

  • #5B88A4

    #5B88A4

    oklch(60.5% 0.065 236.6)

  • #A27182

    #A27182

    oklch(60.4% 0.066 356.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E875A

    #7E875A

    oklch(60.4% 0.065 117.6)

  • #4F8D96

    #4F8D96

    oklch(60.5% 0.065 207.6)

  • #8679A4

    #8679A4

    oklch(60.4% 0.066 298.3)

  • #A5736C

    #A5736C

    oklch(60.5% 0.065 28)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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